- Home /
Question by
infinitypbr · Mar 15, 2013 at 11:21 PM ·
orbit
Orbiting w/ Touch, Camera "snaps" 180 at north & south pole (webplayer link)
I'm using a touch-version of this code, with the distance always set to 15 (no zooming happens).
http://answers.unity3d.com/questions/246709/rotate-around-the-center-of-the-world-with-mouse.html
However, when the camera reaches the exact north or south pole, it sort of "snaps" 180 degrees, rather than continuing around (and ending up, upside down).
Is there a way to allow the camera to go upside down when it reaches the top and bottom of the orbit-sphere? I'd like the user to be able to rotate it around the center point completely.
Thanks!
EDIT: Here is a webplayer example so you can see for yourself the effect. RIGHT-CLICK-DRAG to move the camera around.
Comment