Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
VRfriend2016X's avatar
10 years ago
Solved

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:

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
  • 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