Jump to content

Sign in to follow this  

Planet orbits and rotations

Recommended Posts



I am probably missing something simple…


I have a sphere in a null, the null is aligned to a circle spline and rotates around the spline as an keyed loop. The sphere then spins on its H axis once per spline rotation.


What I am looking to do is simulate planetary orbits along with axal (H) rotations of planets. Currently (see file) the sphere rotates through 360˚ (or 1 rotation) per orbit then starts again (0˚)when the null goes beyond 100% position of the spline. I want the sphere (planet) to continue is rotation beyond 360˚ and not reset at 1 orbit. This is because no planet spins on its axis to exact divisions of 360˚ - Neptune for example rotates 2.21645 times per orbit and I want to be able to simulate this on a constant loop and easily transfer this Xpresso math to other planets with different rotations per orbit (E.G earth 365.25 rotations (days) per orbit).


Any help would be greatly appreciated.




Share this post

Link to post

Try this




note XPresso uses radians - hence the 2 pi

Edited by jed
didn't delete original keyframes

Share this post

Link to post
  • Topic Author
  • Jed...


    Thank you very much! Just what I was looking for but don't have your knowledge to achieve!

    Share this post

    Link to post

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    • Create New...