Forum Discussion
VRfriend2016X
10 years agoProtege
How do you modify OVRPlayerController to do a better jump?
The jumps are really fast and come down quickly to the ground. Much less can you do a moving forward while jumping . Can it be fixed?
the current code is this:
the current code is this:
if (!Controller.isGrounded)
return false;
MoveThrottle += new Vector3(0, transform.lossyScale.y * JumpForce, 0);
return true;
With the XBOX One controler you can even hold down the button for jumping( in my case Y) and it just keeps doing super quick jumps.
- Also remove the line something like (I forget exact)
If !isGrounded movement amount = 0
That will let you jump and move instead of halt all directional movement
4 Replies
Replies have been turned off for this discussion
- PsytekExplorerHave you tried the velocity variable.
- VRfriend2016XProtegedon't know how to use it and how exactly, where would you use it?
- pjennessRising StarAlso remove the line something like (I forget exact)
If !isGrounded movement amount = 0
That will let you jump and move instead of halt all directional movement - VRfriend2016XProtegeThanks i'll try that one
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
- 3 years ago
- 4 years ago