basically im tring to create a simple earth/sun simulation. The basic setup I have an animation for earth ( a sphere ) where rotateY moves from 0 to 360 in 24 frames ( each frame represents an hour ). I then grouped the earth to create a parent transform and set the rotateX to 23, to give earth its axis tilt. finally, i just need to orbit the earth ( yet another parent transform ) about the sun, but the axis remains locked towards the sun. meaning when the earth starts its orbit, its north axis points twards the sun, and when the earth is half way around in orbit, it's axis still points twards the sun, however it should point away.
I need someway of keeping earths axis transform locked in the same direction, throughout its orbit? can anyone assist?
Basic layout
CODE
Orbit Transform ( RotateY from 0 ... 360, pivot at world origin )
Earth Tilt Transform ( RotateX = 23 )
Earth ( RotateY from 0 ... 360, pivot at mesh center )
Thanks!
-Velik