Rotating object around another object
I'm trying to animate an object in order to rotate around another object, like the earth rotating around the sun. I can rotate the earth around its axes but can't figure out how to change the pivot point to the sun's center. This all is being made in plain xml editing.
Any help would be appreciated.
Re: Rotating object around another object
if you're getting this data from an art tool just add an extra transform in between the earth and sun otherwise you won't be able to easily make the earth spin around the sun and in place.
Otherwise, you will notice in the schema that the transform has a non-ordered list of commands inside of it that stick together and those can be repeated. they get applied in the order they appear. So.... rotate (spin locally for time of day), translate (out to distance from sun), and finally rotate again (around the sun to where you want to be in the year). 2 rotates split by a translate.
?NUESTRO LEGADO 2015 PRIMAVERA Y VERANO TEMPORADA MACHOS LOOKBOOK . MUY SIMPLE ,Botas UGG Baratas, DESGASTE REAL ESTA MARCA SUECA CON AFINIDAD Y ESTILO DE ALL- NATURAL amémonos .