6
$\begingroup$

I have created two spheres (earth and moon) and am trying to get the moon to rotate around the earth and spin on it's own axis. I set the moons origin to the earth and got it rotate around but when I try to get the moon to spin on its own axis it rotates at odd angles when I render it, it is clearly noticeable.

Is there anyway to spin an object on two different z axis.(hope that makes sense) cheers.

$\endgroup$
5
$\begingroup$

You'll probably want to use an extra empty object that you rotate the moon around. That way you can rotate the earth and the moon independently from each other. Before starting, reset the origins of your objects (ShiftCtrlAltC).

To do so:

  1. Start by adding an empty object in the same location as your earth object (you can snap your cursor to the earth by using ShiftS > Cursor to Selected)

  2. Select your moon object, then select your empty and parent it (CtrlP). You will notice that you can now rotate the moon with the empty, but the earth rotates separately.

  3. Rotate the earth at the speed you want.

  4. Rotate the moon.
  5. To make the moon orbit around the earth, rotate the empty.

If you want to make the moon orbit copy the speed of the earth, you can use a copy rotation constraint on the empty (you can also set the percentage of the speed by adjusting the influence).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.