Hi peeps,
I'm trying to make my character fly around an object, like in this game:
http://www.y8.com/games/gravity_gambit
Right now I have a semi-working script that involves planets with rotating transforms, and making the game character a child of one if it gets close enough. Trouble is, when I try to launch away from the planet, I go in the wrong direction.
Any idea how I might achieve this? I don't think using real physics is a good idea, since this project is 2D.
Thanks in...
Flying around and between planets
I'm trying to make my character fly around an object, like in this game:
http://www.y8.com/games/gravity_gambit
Right now I have a semi-working script that involves planets with rotating transforms, and making the game character a child of one if it gets close enough. Trouble is, when I try to launch away from the planet, I go in the wrong direction.
Any idea how I might achieve this? I don't think using real physics is a good idea, since this project is 2D.
Thanks in...
Flying around and between planets