Is there anyway to set control rotation with a quaternion?

Thumper
Tue, 05 Jul 2016 21:18:31 +0000
Community & Industry Discussion

I’m trying to have 6DoF with my control rotation. I keep running into gimbal lock. My world is round and the players feet should always point towards the planets center. When I try to add in the mouse input X rotation I believe it is causing it. I keep reading everywhere that keeping rotations as quaternions will eliminate this but I don’t see how I can when SetControlRotation only takes a rotator.

16 posts - 1 participant