OVRPlayerController - disable Running?
Hi, I'm looking through the OVRPlayerController script to disable running with left Touch trigger. I managed to do it easily for Shift keys here, by changing moveInfluence from 2.0f to 1.0f: // Run! if (dpad_move || Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift)) moveInfluence *= 1.0f; Technically it is still running, but it doesn't matter if it's x1.0 speed. But this doesn't change the left Touch trigger running - it still turns on run mode. How can I disable trigger running? Thanks!565Views0likes0Commentsreassign running button to Button.PrimaryThumbstick
hi I can't find a way to change the button to run on the touch controllers I found the: // Run! if (OVRInput.Get(OVRInput.Button.PrimaryThumbstick) moveInfluence *= 2.0f I changed it to: If (OVRInput.Get(OVRInput.Button.PrimaryThumbstick) tho, don't know how to set it back!!!!! but it did't work plzz help me with this what do I need to change493Views0likes0CommentsRunning using OVRPlayerController.cs
Having issues with getting running to work using the OVRPlayerController.cs script. Been searching all over the forums for an answer but not finding anything. I modified the script: // Run! if (OVRInput.Get(OVRInput.Button.PrimaryThumbstick)) moveInfluence *= 1.2f; I want to be able to sprint while pushing down the primary thumbstick. This seems very simple...but it''s not working. What am I missing? Appreciate any help. Thanks.448Views0likes0Comments