• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Find X and Y of a point, with dist and direction

Laura Bravo

Member
I'm trying to find the X and Y of an unknown point. Planets orbiting a sun and moons orbiting planets.

So the sun is the center, from there I need to find the X/Y of a point 64 pixels away at say 86 degrees. The distance will change based on orbit and the degrees as well. I've look in the manual but may be missing something. I can find the distance and direction of an object from a point to a point but can't seem to find anything that gives the point form a distance and direction.

Thank you for your time.
 
Top