Forum Discussion

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

OVRPlayerController Jump

I am looking Using the OVRPlayerController Script to try and make the player jump

When I link the Function Jump() to a Button the player jumps but only vertically - you lose any directional momentum?

Any ideas?

4 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    Never mind it was this...

    // No positional movement if we are in the air
    if (!Controller.isGrounded)
    MoveScale = 0f;
  • well when i try to jump, it freaks the hell out and throws me out of the map :(

    [EDIT]
    Actually i decided to use only the OVRCameraController and then try to make my own PlayerController. works much better ;) . add ur movement, then add the MouseLook script from the FPS controller. but ONLY the X. one quick way to get a beta controller.
  • mduda's avatar
    mduda
    Honored Guest
    Can you share your script for player controller?

    Working with the same issue...

    Regards,