Forum Discussion

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

Controlling Camera Rotation with the Mouse

For debugging purposes I would like to emulate the head rotation using the mouse.

Right now my script rely on the
 OVRRig.centerEyeAnchor.transform.localEulerAngles 
value, so to keep things accurate while testing I would like to influence that value using the mouse.

Is there an API for that (couldn't find anything)? If not what would be the best way to go about it?

Thanks!

1 Reply

Replies have been turned off for this discussion