0
votes
2answers
43 views

Motion of two gravitational bodies?

I'm doing a basic realtime simulation of two bodies, but the orbits are unstable for some reason. This code is run at every timestep: ...
-1
votes
1answer
118 views

Simulating a car in an intersection

I'm somewhat confused. I want to simulate in real-time an intersection where cars have to turn left, right or go straight. What I have are 2 way points: One at the beginning of the intersection on ...
0
votes
1answer
383 views

End position of movement factoring in deceleration

Ok I am hoping to apply this answer to a piece of software, but it uses physics to work out the result so I require some help in that department. I will attempt to explain this the best I can. I ...