Zonciu / Box2DSharp

A C# port of Box2D
MIT License
544 stars 102 forks source link

Unity test. #10

Closed juliolitwin closed 3 years ago

juliolitwin commented 3 years ago

Hi,

Is the Unity project really working/done? Apparently is using dependencies of ImGUI and several others, I can't compile. Regards.

Zonciu commented 3 years ago

Please pull the latest commit, it should work now.

juliolitwin commented 3 years ago

Thanks, it worked correctly now!

Box2D is not very viable for Unity 3D, right? I saw that the performance is extremely low. I'm trying to find a 2d physics (deterministic or non-deterministic) for prediction rollback.

Zonciu commented 3 years ago

Unity's 2D physics engine is a wrapped C++ version of Box2D, so it would have better performance. According to stress tests, Box2DSharp is four times slower than Box2D.