# Re-spawning A VR Pawn

**URL:** <https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952>\
**Category:** XR Development\
**Tags:** unreal-engine, respawn, question, Blueprint\
**Created:** [May 29, 2020, 6:50am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952 "2020-05-29T06:50:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dreamcastgamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dreamcastgamer](https://forums.unrealengine.com/u/Dreamcastgamer)\
**Post date:** [May 29, 2020, 6:50am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/1 "2020-05-29T06:50:28Z")

</div>

A while back i got a system working with a first person player that allowed you to respawn the player at any point during the level to a specific location, the reasons for doing this is that the respawn point needed to be moving.

Likewise in VR, i wanted to have a similar feature, so i thought i would take my blueprints from first person to the pawn.

What i first did is create a gamemode base to have the pawn in rather than placing the pawn in the level itself.

![303102-class.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/1/ad113abffde1c26caa0a51dcb7364ced0e66e448.jpeg)

Within this game mode base i did the following (see screenshot). basically i created two variables, the spawn actor is used for referencing the actor mid level we want to spawn too.

 ![303104-playerclass.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/0/e303bf37bfb32f817e49fe00734ce2d9f3312cd6.jpeg)

Then within the pawn itself, i did the following (used the sequence to feed off of the even begin play).

 ![303105-pawn.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/8/fd8471b4a1e93789067c210acf20270976e90170.jpeg)

Then finally in the level itself, i did this, the actor is just a empty actor from within the level.

 ![303106-level.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/3/2b3aa0b326459f0e2058a8ecfdd15ad5821a19c5.jpeg)

This all works within the first person character, and it does indeed work in VR, but the problem is that once you respawn, you appear a good distance above the ground and no longer able to do anything, even the motion control hands no longer register to anything.

It seems like once the actor is destroyed, it fails to reappear for some reason, though i am able to control the head movements still.

Was curious if anyone has any ideas on what could be going wrong?

---

<div class="post-metadata">

**Author:** ![Dreamcastgamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dreamcastgamer](https://forums.unrealengine.com/u/Dreamcastgamer)\
**Post date:** [May 29, 2020, 7:01am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/2 "2020-05-29T07:01:01Z")

</div>

Not sure what i did, but its now respawing the player again with control, though now i need to find out how to have the hands go away.

 ![303107-hands.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/8/8c8f78d97785f560bc5078f7857fe7f8dff24b9c.jpeg)

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [May 29, 2020, 2:58pm UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/3 "2020-05-29T14:58:00Z")

</div>

Are you deleting Old pawns after spawning new ones?

---

<div class="post-metadata">

**Author:** ![Dreamcastgamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dreamcastgamer](https://forums.unrealengine.com/u/Dreamcastgamer)\
**Post date:** [May 29, 2020, 6:22pm UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/4 "2020-05-29T18:22:25Z")

</div>

Dont think i am, how would i reference that when destroying the actor?

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [May 30, 2020, 7:09am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/5 "2020-05-30T07:09:02Z")

</div>

1.GetPlayerController 2.GetControlledPawn 3.DestroyActor 4.SpawnNewPawn 5.Posses

---

<div class="post-metadata">

**Author:** ![Dreamcastgamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dreamcastgamer](https://forums.unrealengine.com/u/Dreamcastgamer)\
**Post date:** [May 31, 2020, 3:03am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/6 "2020-05-31T03:03:18Z")

</div>

Seems to have worked, thanks!

---

<div class="post-metadata">

**Author:** ![Dreamcastgamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dreamcastgamer](https://forums.unrealengine.com/u/Dreamcastgamer)\
**Post date:** [May 31, 2020, 3:04am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/7 "2020-05-31T03:04:41Z")

</div>

See Irajsb comment

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [May 31, 2020, 6:17am UTC](https://forums.unrealengine.com/t/re-spawning-a-vr-pawn/465952/8 "2020-05-31T06:17:04Z")

</div>

I changed comment to an answer.
