You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My collision detection was initially calculated for uniform time steps (which would correspond to uniform distances travelled in the grid). When I made the animation time-dependent, the points that the ball passes through are more unpredictable, and that broke my assumptions for collision detection so I'll need to redesign it.
I'll do that when I get some free time. I'm surprised it actually works this well because it makes little sense with variable time steps.
"Fixed" by having a "snapping" integral, and a much more lenient collision detection that relies on the snapping. It should work in all cases, but it isn't elegant so I will try to redesign the whole system later.
Collision detection occasionally fails.
Steps to reproduce:
(Reported by Hok Poon)
The text was updated successfully, but these errors were encountered: