cancel
Showing results for 
Search instead for 
Did you mean: 

OVRPlayerController - disable Running?

Kubold
Explorer
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!
0 REPLIES 0