Hey All,
I've been working on a trackball example, but i'm seeing some wacky behavior. I've created a drag plan that sits on top of the sphere which i use to grab my deltas values on mouse move.
Initially, the movement of the sphere follows the mouse as it should, but eventually the mouse direction switches the rotation of the sphere in the opposite direction??? I know it must be a quaternion issue, but i'm not experience enough to figure it out.
Any help would be appreciated.
Thanks,
Tobi.
PG Example
https://www.babylonjs-playground.com/#ZDLTXV#2