Skip to main content
Inspiring
July 18, 2016
Solved

How do you modify OVRPlayerController to do a better jump?

  • July 18, 2016
  • 4 replies
  • 1630 views
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:

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.




This topic has been closed for replies.
Best answer by pjenness
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

New Participant
July 18, 2016
Have you tried the velocity variable.
Inspiring
July 19, 2016
don't know how to use it and how exactly, where would you use it?
pjennessAnswer
Inspiring
July 19, 2016
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
Drift VFX Visual, Virtual , Vertical Want 970GTX on Macbook for good FPS? https://forums.oculus.com/viewtopic.php?f=26&t=17349
Inspiring
July 19, 2016
Thanks i'll try that one