Forum Discussion
Kubold
7 years agoExplorer
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:
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!
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!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 4 years ago
- 3 months ago
- 29 days ago
- 8 months ago