Orbits

Normalize Data

So here, we want to make a Planet Game Object orbit the sun.

The RotateAround function takes

  • position of target to rotate around
  • vector direction
  • how far to move in angle degrees
    • if we put in 360, we're going to completely circumnavigate the orbit.


Backlinks