Skip to main content
Inspiring
July 3, 2016
Solved

How do you enable Jump in OVRCharacterController?

  • July 3, 2016
  • 33 replies
  • 8777 views
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.
This topic has been closed for replies.
Best answer by vrdaveb
You mean OVRPlayerController? Try adding code like the following to OVRPlayerController.Update():
if (Input.GetKeyDown(KeyCode.Space)
    Jump();

33 replies

Participant
July 22, 2016
Yes that did happen to me too. It depends on what values you're using. If I enter values too high, my character keeps jumping endlessly. Are you using the exact same values as I am? 

Yes you can show your code if you want but I'm not really much of a programmer to be honest. I can have a look though. 

Inspiring
July 23, 2016
Yes i entered the exact values. But no worries. I found another implementation for a jump just by luck. And it works pretty well so i'm ok now
New Participant
April 16, 2018


Yes i entered the exact values. But no worries. I found another implementation for a jump just by luck. And it works pretty well so i'm ok now


Could you please share that with me? I am where you guys were at the end of this thread and I am interested.