Kimbatt / unity-deterministic-physics

Cross-platform deterministic physics simulation in Unity, using DOTS physics and soft floats
497 stars 64 forks source link

2D support #3

Open omgmax opened 3 years ago

omgmax commented 3 years ago

Hi,

Can you add support for 2D physics + a 2D example? Thanks!

Kimbatt commented 3 years ago

Hi, 2D physics work in a completely different way, so you'd need a different engine from 3D. You could try a C# port of the box2d engine, and replace all floats with sfloats and so on.