Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Arayus's avatar
Arayus
Honored Guest
8 years ago

Running 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.