cancel
Showing results for 
Search instead for 
Did you mean: 

How do you modify OVRPlayerController to do a better jump?

VRfriend2016X
Protege
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.




1 ACCEPTED SOLUTION

Accepted Solutions

pjenness
Rising Star
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

View solution in original post

4 REPLIES 4

Psytek
Explorer
Have you tried the velocity variable.

VRfriend2016X
Protege
don't know how to use it and how exactly, where would you use it?

pjenness
Rising Star
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

VRfriend2016X
Protege
Thanks i'll try that one