Forum Discussion

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

Modify OVRPlayerController for HL2 VR mode controls?

Does anyone have any scripts/tips on a starting point on how to decouple the head from the mouse? Then move the head's direction when the mouse leaves a circle boundary like (mode 3 I believe) of HL2's VR mode controls?

Mode 3 and 4 are both good.
3: Steering with the rift, aiming with the mouse inside a dead zone. Outside the dead zone the mouse steers as well.
4: Relative camera control with the rift (no influence on aiming or steering, relative to your character's facing direction). Mouse is as mode 3 combining aiming and steering with a dead zone.