|
How do you make sure that your object keeps a constant distance from the center of sphere while it moves? So that I can use it to make a character move on a spherical terrain.
(comments are locked)
|
|
solution 1: check distance in Update() function and fix if you need solution 2: make object as child to sphere, set distance once and just rotate it Hey, thanks... I was looking for a more calculated way. But eventually, used Solution 2 : where I connected the satellite body (via a joint) to an empty game object in the center. And I made that Empty game object "LookAt" the point I want to reach.
Aug 07 '12 at 06:28 AM
Trithilon
(comments are locked)
|
