# Using Pulse for a game

**URL:** https://discourse.kitware.com/t/using-pulse-for-a-game/1000
**Category:** Pulse Physiology Engine
**Created:** [March 16, 2023, 4:27pm UTC](https://discourse.kitware.com/t/using-pulse-for-a-game/1000 "2023-03-16T16:27:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mrgreen](https://discourse.kitware.com/user_avatar/discourse.kitware.com/mrgreen/32/665_2.png) [@mrgreen](https://discourse.kitware.com/u/mrgreen)
#### Post date: [March 16, 2023, 4:27pm UTC](https://discourse.kitware.com/t/using-pulse-for-a-game/1000/1 "2023-03-16T16:27:58Z")

</div>

Hey! I’m just wondering if pulse is suitable to be used in video games (not for learning purposes) to simulate bullet wounds, infections, etc. Thanks!

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [March 16, 2023, 4:32pm UTC](https://discourse.kitware.com/t/using-pulse-for-a-game/1000/2 "2023-03-16T16:32:23Z")

</div>

We have a pretty good hemorrhage model  
There is a decent bit of overhead associated with using an engine  
Its one instance is one person, so I assume you would just use it for the player character  
I think that would be ok, but Pulse needs to solve at 50Hz, so it could impact other areas of the game  
Setting up an engine per npc would cost too much

---

<div class="post-metadata">

### Author: ![mrgreen](https://discourse.kitware.com/user_avatar/discourse.kitware.com/mrgreen/32/665_2.png) [@mrgreen](https://discourse.kitware.com/u/mrgreen)
#### Post date: [March 16, 2023, 4:34pm UTC](https://discourse.kitware.com/t/using-pulse-for-a-game/1000/3 "2023-03-16T16:34:19Z")

</div>

Yeah, I already planed to have just one system, so that wouldn’t be an issue. The thing I’m most worried about is if I can change the patient file at runtime. For example, if the player is exercising, ate, or did anything else

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [March 16, 2023, 4:35pm UTC](https://discourse.kitware.com/t/using-pulse-for-a-game/1000/4 "2023-03-16T16:35:27Z")

</div>

You just pass an action to the engine for whatever you do  
the computation cost is always the same

---

<div class="post-metadata">

### Author: ![mrgreen](https://discourse.kitware.com/user_avatar/discourse.kitware.com/mrgreen/32/665_2.png) [@mrgreen](https://discourse.kitware.com/u/mrgreen)
#### Post date: [March 16, 2023, 4:35pm UTC](https://discourse.kitware.com/t/using-pulse-for-a-game/1000/5 "2023-03-16T16:35:57Z")

</div>

Oh, neat. Thank you a lot!
