cancel
Showing results for 
Search instead for 
Did you mean: 

How do you modify OVRPlayerController to do a better jump?

VRfriend2016X
Level 4
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
Level 8
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
Level 3
Have you tried the velocity variable.

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

pjenness
Level 8
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
Level 4
Thanks i'll try that one