# Leaving corpses after death

**URL:** <https://forums.unrealengine.com/t/leaving-corpses-after-death/850528>\
**Category:** Blueprint\
**Tags:** actor, death, unreal-engine, Blueprint, question\
**Created:** [April 5, 2023, 9:09am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528 "2023-04-05T09:09:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![S1E4AN.TV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s1e4an.tv/32/675585_2.png) [@S1E4AN.TV](https://forums.unrealengine.com/u/S1E4AN.TV)\
**Post date:** [April 5, 2023, 9:09am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/1 "2023-04-05T09:09:44Z")

</div>

I want to add a feature to the game so that after the death of my character, his body remains lying on the ground, and then a new character respawns and so on ad infinitum until you complete your level.

P.s  
Below is a blueprint of how my character dies from a fall and is reborn  
At the same time, after death, my camera is frozen, I want to avoid this.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/2/2224f21cdbc1e3c5c45f87aa8a71a4fc91ca75a5.png)

---

<div class="post-metadata">

**Author:** ![DoubleP90](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doublep90/32/1221172_2.png) [@DoubleP90](https://forums.unrealengine.com/u/DoubleP90)\
**Post date:** [April 5, 2023, 9:25am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/2 "2023-04-05T09:25:51Z")

</div>

When you open a level everything is reset in it. Aren’t you opening the same level you’re currently in? Just teleport your character to the start of the level and spawn a dead actor instead

---

<div class="post-metadata">

**Author:** ![S1E4AN.TV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s1e4an.tv/32/675585_2.png) [@S1E4AN.TV](https://forums.unrealengine.com/u/S1E4AN.TV)\
**Post date:** [April 5, 2023, 9:30am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/3 "2023-04-05T09:30:53Z")

</div>

Yes. You are right, after death a new level opens and everything is reset, I need to fix this so that the level does not reset after death.

---

<div class="post-metadata">

**Author:** ![DoubleP90](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doublep90/32/1221172_2.png) [@DoubleP90](https://forums.unrealengine.com/u/DoubleP90)\
**Post date:** [April 5, 2023, 9:48am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/4 "2023-04-05T09:48:14Z")

</div>

In that case on death you probably want to spawn a dead actor and ragdoll that, while making the player character invisible, that way you don’t need to transpose the player character dead pose to the new mesh before teleporting

---

<div class="post-metadata">

**Author:** ![S1E4AN.TV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s1e4an.tv/32/675585_2.png) [@S1E4AN.TV](https://forums.unrealengine.com/u/S1E4AN.TV)\
**Post date:** [April 5, 2023, 10:18am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/5 "2023-04-05T10:18:39Z")

</div>

You are right, now my character just spawns and everything is saved, but the inscription “You Die” is preserved, and also my camera does not rotate in different directions, how to fix this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/c/31c526558c802c60004dc80d31f945a15cee7316.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/3/d135fbcb58fbbbc81d4a58cf4729baa2e47a493f.jpeg)

---

<div class="post-metadata">

**Author:** ![DoubleP90](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doublep90/32/1221172_2.png) [@DoubleP90](https://forums.unrealengine.com/u/DoubleP90)\
**Post date:** [April 5, 2023, 11:35pm UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/6 "2023-04-05T23:35:50Z")

</div>

Don’t destroy your character, make it invisible, teleport it after 4 seconds to the respawn point and make it visible.  
Just spawn a dummy mesh actor for the corpse, you shouldn’t possess it

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [April 5, 2023, 11:49pm UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/7 "2023-04-05T23:49:14Z")

</div>

probably easier to spawn a new character at the start point and possess it, and leave the old one at the point of death.

---

<div class="post-metadata">

**Author:** ![S1E4AN.TV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s1e4an.tv/32/675585_2.png) [@S1E4AN.TV](https://forums.unrealengine.com/u/S1E4AN.TV)\
**Post date:** [April 6, 2023, 9:44am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/8 "2023-04-06T09:44:14Z")

</div>

Will this cause fps to drop?

---

<div class="post-metadata">

**Author:** ![S1E4AN.TV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s1e4an.tv/32/675585_2.png) [@S1E4AN.TV](https://forums.unrealengine.com/u/S1E4AN.TV)\
**Post date:** [April 6, 2023, 10:20am UTC](https://forums.unrealengine.com/t/leaving-corpses-after-death/850528/9 "2023-04-06T10:20:11Z")

</div>

Now it works like this:  
This is Game mod:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/f/32f8764493e0cb8dcc00eb19927dd29c9f455c23.png)  
This is Character:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/6/876e0ea1f9c3063aa61125d15c245831d0b02f23.png)  
This is Play:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/1/6a1c56ca2f91f0e6a34824ab39ce78c2469b7bcb.jpeg)
