Darthfett / A-Priori-Physics-System

A side-scroller game based upon Mega Man X, with a priori collision detection, and objects being represented as a sequence of connected points.
3 stars 0 forks source link

Collisions stack up -- Future memory issue #23

Closed Darthfett closed 12 years ago

Darthfett commented 12 years ago

When collisions are detected to happen after a very large amount of time, they are never removed from the queue when they are invalidated.

It might be best to simply loop through the list after each frame to remove any invalidated events.