Posted October 28, 2024 by J. Douglas Patterson
Fixed an issue where given certain initial conditions for the two carts, they would continue to be in collision and would stick together regardless of the proper physics. It was faulty logic on my part, of course. I revised the logic so that the calculation to resolve the two velocities after a collision would only run once. The solution that I have is not terribly portable, but it works for this demo.