Sergey Ostrovsky
Sergey Ostrovsky
You can see how it works now:  
I've tried to use phi and theta instead of clampedPhi and clampedTheta, but this doesn't resolve the problem: > // Parametrize the camera's location onto a sphere based on current...
I've tried to change rotate direction..if phi cross boundary values (0 and 180): > Quaternion quartEuler = new Quaternion((float)phi, (float)theta, 0); > if (chgDirection) { > quartEuler.w = ((1 -...
I've tried to play with z axis: > Vector dirVectorNormNoY = new Vector(dirVector.x, 0, dirVector.z); > if(chgDirection) { > // new Vector(dirVector.x, Math.PI, dirVector.z); > dirVectorNormNoY = new Vector(dirVector.x, 0,...