*HELP!* Car orbiting around planet ( but i still want him to be able to jump and drive faster )
This is what i want.. But like only one big circle..
![](https://img.youtube.com/vi/SOSTTwELLJ0/0.jpg)
This is what i come up with.. I made it really simple and used the "accelerate towards" attr. But i cant get it to work proper. I bet there is a much smarter way of making this by using, min,max,cos,sin or something.
![](https://img.youtube.com/vi/jJzm9tmpsyE/0.jpg)
I want the player ( the car ) to drive around the "planet" and i also want to add a jump button and a accelerate button, normally I know how to code a jump button and an accelerate button, but with the player "orbiting" around the planet It makes it alot harder for me because... yeah i guess you can understand by watching the youtube clip.
/Thanks
![](https://img.youtube.com/vi/SOSTTwELLJ0/0.jpg)
This is what i come up with.. I made it really simple and used the "accelerate towards" attr. But i cant get it to work proper. I bet there is a much smarter way of making this by using, min,max,cos,sin or something.
![](https://img.youtube.com/vi/jJzm9tmpsyE/0.jpg)
I want the player ( the car ) to drive around the "planet" and i also want to add a jump button and a accelerate button, normally I know how to code a jump button and an accelerate button, but with the player "orbiting" around the planet It makes it alot harder for me because... yeah i guess you can understand by watching the youtube clip.
/Thanks
Best Answer
-
famekrafts Posts: 834
In that case If you can make it go round on the earth than you can make it go round while jumping too, just use the same formula for going round when jumping and limit the x and y positions. easier said than done I know,
Maybe if you can share a sample GS template file of making it go round and I can try to work on the equations and behaviors.
Answers
give 4 invisible actors to the 4 directions of the sphere, if he is overlapping any two not facing the opposite blocks and the gravity is on, he jumps and falls
while the other two can be made to jump towards the opposite block using interpolate.
I am noob at this software, so just gave you a noob suggestion.