2DFPhysics
2D Fixed-Point Physics for usage in Unity.
Currently built on Unity 2019.2.8f1, but can work on lower versions.
Goals
- Deterministic. Should get the same result on all platforms.
- Supports rollback. Should be able to save/restore anything having to do with the simulation and have it play back the exact same.
Resources
- The Great Divide: Unique Visuals and Deterministic Gameplay in Deserts of Kharak
- How to Create a Custom 2D Physics Engine
- Broad Phase using Spatial Partitioning
Other Details
- The project uses my fork of FixedPointy to handle all the fixed point math, I'd appreciate any contributions there also.