This step-by-step tutorial shows how to implement thumbstick (aka gamepad or joystick) locomotion as an alternative to teleportation in the standard VR template.
Two variations are shown:
1. Direction of locomotion following the HMD orientation
2. Direction of locomotion independent from the HMD orientation
In addition the VR Pawn is modified to add a collision capsule so it cannot go through other objects and walls.
*NOTE*: To keep it simple, this implementation is for a seated/in-place experience. Rotations will be inaccurate if you use it for a room-scale experience and start moving around IRL. This can be fixed implementing a roto-translation of the VR origin so the camera parented to it pivots around its vertical axis as expected. I may cover this in a future tutorial if anyone is interested.
Смотрите видео Using thumbstick locomotion with the standard VR template - Unreal Engine 4 Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Marco Ghislanzoni 06 Январь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 33,431 раз и оно понравилось 629 людям.