Posts

Showing posts from October, 2021

full locomotion vr

Image
A combination of these three youtube videos should get you decent full locomotion in Unreal, using the built in VR template. https://www.youtube.com/watch?v=kGCS4rJYzoM&t=21s https://www.youtube.com/watch?v=EtEYIh9ndkc&t=236s https://www.youtube.com/watch?v=1rQvPnKvlfk The key parts to remember with the pawn -  -set the auto-possess. -disconnect the teleport stuff (unless using!)  -use the camera forward vector if you want to move which way you're facing rather than the "real" forward. -set your collisions on any colliders. "block all" probably best for any walls or immovable objects. Not entirely sure why the stairs or template floor has no collision setting. Might be in blueprints? Decided to take a few screenshots of the pawn's Blueprint, just in case those videos vanish. The rotation snapping is as follows - And the free movement is here- Also changing the class inheritance to Character -  And disconnecting the teleport related scripts, but keepi