Hard math problem regarding circle collisions page 2

26 posts

Flag Post

I would just like to point out that I’m no expert on this and haven’t ever implemented a system like this either, so I apologise if I don’t get things quite right.

For your four steps, ensure that in the first step that you are able to proceed normally should there be no collisions during the frame, in the third step ensure that the velocity recalculation occurs after moving the circles and that you multiply the velocities by t (see suvat equations)

You’ll have to deal with the appropriate corner cases as touched on in previous posts