How can I make it so that an object has to stay near another one. I want to do this because I am making an orbiting thing. i got the orbiting part down but I mant the moon to orbit the earth and the earth to orbit the sun. Thanks!
Offline
There's the insanely simple method of:
Or if you need it to rotate around the Earth, this is another method (that doesn't affect your direction):
In the last block, do you see the sin/cos of Dir*100's? You can change the 100's to change how far away the moon is from the Earth.
Last edited by Kileymeister (2011-03-19 09:24:39)
Offline
Thanks KileyMeister! If I was part of the scratch team then I would make you a community moderator!
Offline