• 0 Posts
  • 306 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle










  • Compute the bounding volumes of the objects during the step. If the bounding volumes intersect, it’s a possible collision.

    You can then use a root finder such as bisection to determine if, and at what position and instant the objects collide. This is slow so you only want to do it for pruned object pairs.

    If gravity varies during the simulation, you would need to use a dynamic time step and the problem is a lot harder.