Forum Discussion

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

How do you enable Jump in OVRCharacterController?

I noticed the class OVRInput.cs has a Jump() method and it says in comments that you must enable it. Where do i enable it?

But also in INput settings JUMP it's set to joystick 3...what exactly is joystick 3 in the xbox one controller?  seems from pictures i saw that is the Y button. but different pictures say different things.
  • You mean OVRPlayerController? Try adding code like the following to OVRPlayerController.Update():
    if (Input.GetKeyDown(KeyCode.Space)
        Jump();

33 Replies

Replies have been turned off for this discussion