ashoulson / VolatilePhysics

A 2D Physics Library for Networked Games
Other
260 stars 44 forks source link

Spatial decomposition (dynamic tree) for static geometry #11

Open ashoulson opened 9 years ago

ashoulson commented 9 years ago

Dynamic objects may not be worth it with rollback, but static objects probably are. Eventually we could even precompute this.

Don't need it right away, long-term optimization idea.

ashoulson commented 8 years ago

Attempted to do this in the revamp branch, but performance improvement wasn't satisfactory for the increased code complexity, increased memory usage, and decreased reliability.

ashoulson commented 8 years ago

Could probably do a BVH implementation for collision resolution only (in current time) while leaving queries to just use AABBs.