Hey everyone, i've stumbled upon a pretty weird issue when rotating a sphere.
Even though the sphere has absolutely neither parents nor children, it seems to be rotating around something...
here's the rotation code :
Also, i've already tried to attach a rigidbody and freeze x,y and z positions, no success
asked Jun 30 '11 at 07:37 AM
Have you tried using space.self, instead of space.world?
though im not sure it would help.
If that doesnt work you can try the following; spawn a new gameobject, then move said gameobject to the center of your sphere, set the sphere as a child of the gameobject, then apply the rotation to the gameobject instead.
If that doesnt work, then im out of ideas.
just out of curiosity, where is the pivot of the sphere located?
answered Jun 30 '11 at 08:03 AM
The only problem in this solution is that we can't set the rotation to a specific value.
Here's another Wolfram's idea that will use the same