Forum Discussion
NextWorldVR
7 years agoProtege
Working Sample code for SIMPLE Free VR locomotion in Unreal?
Hello, I see there is SAMPLE CODE for all kinds of BIZARRE and USELESS VR Locomotion 'techniques' BUT, I never seem to be able to find anything 'simple' or 'useful'.. I ONLY want to make my apps w...
Mohammed_hashim
6 years agoStart Partner
It isn't that hard, the key is to use 1st person template (non-VR) and map the movement to your touchpad instead of WASD then enable one checkbox on your FPS camera called (Lock to HMD). then adjust your character speed, that's it.
Make sure its Character instead of a pawn which normal what people use on VR. since pawn doesn't have a movement component.
And make sure when you move forward the character you get the rotation from the camera and not the character so you move forward based on what you are looking and not based on the character rotation.
Make sure its Character instead of a pawn which normal what people use on VR. since pawn doesn't have a movement component.
And make sure when you move forward the character you get the rotation from the camera and not the character so you move forward based on what you are looking and not based on the character rotation.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 25 days ago