Le 2020-11-29 à 08:32, Julia a écrit :
> Im making an animation of the earth and the moon rotating.
> I cant make the moon spin around the earth and i dont know where is the problem
As bald Eagle mentioned, all rotations are always relative to the
origin. The same also apply to any scaling.
First, model your Earth at the origin.
Next, make it rotate on itself for the days animation, THEN apply the
Next, model your Moon at the desired distance. You then make it orbit
the Earth with a single rotation. Here again, apply a rotation to
emulate the lunar orbital tilt.
Finally, use a light source with the parallel attribute to simulate the
Sun at some distance. I recommend placing it at around twice the
distance to the Moon. The parallel attribute simulate a light source
located at an infinite distance.
Rotate that light to simulate the relative motion of the Earth around
Post a reply to this message