Skip to main content
May 16, 2013

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?
    This topic has been closed for replies.

    4 replies

    May 16, 2013
    Never mind it was this...

    // No positional movement if we are in the air
    if (!Controller.isGrounded)
    MoveScale = 0f;
    Up and Coming
    July 10, 2013
    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.
    New Participant
    May 13, 2014
    Can you share your script for player controller?

    Working with the same issue...

    Regards,
    Inspiring
    May 13, 2014
    You can try using the instructions here (I believe they should still work):
    viewtopic.php?f=37&t=3018&p=37280#p37280

    Make sure to pull the OVRCameraController out of an OVRPlayerController instance. Don't use the one in the prefabs folder as it does NOT work.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV