ashoulson / VolatilePhysics

A 2D Physics Library for Networked Games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spatial decomposition (dynamic tree) for static geometry

ashoulson opened this issue · comments

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.

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.

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