- Home /
Itween for curved orbital movement?
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.
Answer by ScroodgeM · Aug 04, 2012 at 12:56 PM
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.
Your answer
Follow this Question
Related Questions
iTween for Dynamically Moving Objects around a Sphere 0 Answers
Can iTween be used to constrain motion for an arbitrarily drawn curve? 1 Answer
how to apply orbit to the player 2 Answers
Replacing iTween.MoveUpdate with iTween.MoveTo 1 Answer
itween: targeting differnt gameobjects after mousecklick 1 Answer