Skip to main content
New Participant
July 23, 2015

Modifying Jump Speed with OVRPlayerController

Hi there. I'm developing a game where the player can enter a chamber with low gravity. When they enter the chamber (by walking through a trigger) I wanted to slow down the speed at which they jump upward in the air (technically the chamber has no oxygen but anyways...). I'm able to modify the gravity (slowing their descent) and increase the height at which they jump but I can't seem to find how to slow the jump speed, which is currently really quick. I'm using Unity 5.1 with OVR SDK 0.6.0.1. All other features work fantastic. Thanks!
    This topic has been closed for replies.

    2 replies

    Inspiring
    July 24, 2015
    The jump functionality is pretty bare-bones and I would not recommend using that in a real game.

    However, if you want to try to make it work, look around starting at line 181 of OVRPlayerController.cs.
    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
    ElykaiAuthor
    New Participant
    July 24, 2015
    Thanks very much.