UE 5.3.2 VR Pawn doesn't move in the scene when I walk in reale life

Hi everyone. I’m quite new with UE and I am trying to develop a simple VR project, where to move in the virtual scene you have to phisically walk in your real environment. When you get in front of an elevator, its doors open. This means (I guess) that when the VR Pawn collides with a trigger box, then the elevator doors animation is playes. If I manually move the VR Pawn on the trigger box, everything is working well and the animation is properly played. But if I put on my HMD and walk forward, I move forward in the virtual scene as well but the animation is not played. This means that the VR Pawn does not follow me?
Do you know how to fix this?

Thanks a lot!!

Hello Irene, Welcome to the Forums.

Good question. There is a difference between the location of the VR Pawn (It’s root location), and the location of the VR Pawns Camera. (Camera is driven by the Virtual Reality 6-DOF System)

In your Pawn Blueprint: I’d try attaching a ‘Sphere Collision’ object directly to the camera, and using that to trigger the events.

Let us know if you’re still having troubles!

Hello Astrotonic,

It works!!! Thank you!

If it can help someone else, here’s the solution.

This is my VRPawn’s structure:

And this is the level blueprint, where there’s the instruction for the trigger box:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.