Forum Discussion
Sourav.Sutradhar
3 years agoHonored Guest
How to solve Jump Problem?
I want my player to jump. In OVRPlayerController.cs, I commented out the following code. if (!Controller.isGrounded) MoveScale = MoveScaleFloatValue; After that I set my Gravity Modifier to ...
SimonDarksideJ
2 years agoProtege
I'll be truly honest, you really shouldn't try to force the camera to "jump" while a user is in VR. Sure they can jump IRL and the headset will be tracked. Otherwise you should use some sort of teleporting/movement.
My guess if you still want to try this, is that the OVRCameraManager, or the "TrackedPoseDriver" in Unity will likely still be interfering based of inputs from the headset.
The thing to remember is that you should be trying to move the environment and NOT the headset for these types of scenarios, because the player's physical position is not changing, so you actually want the world around the player to jump and not the player themselves.
Hope that helps.
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
- 1 year ago
- 9 months ago
- 1 year ago