Is Unity.Physics the right place for 2D Game?

I am developing a 2D game and use the features of DOTS (Burst, Jobs, ECS). I would also like to use DOTS for the implementation of the physics. However, this physics package seems to me to be designed for 3D.

At the moment I see two ways to do this:

  • Project Tiny. However, this has not been updated for a long time and I am not sure if this will be developed further.
  • Using the mesh shape from this package

Does anyone have any suggestions or advice on how I should proceed?

Thinking about the same thing as well.
Concerned with performance on low end mobile devices.

What did you end up choosing?

Read at this post, another user posted the same question some months ago.

In addition to that, I suggest looking at the scene called “4b. Limit DOF” in the public PhysicsSamples Repo. (EntityComponentSystemSamples/PhysicsSamples at master · Unity-Technologies/EntityComponentSystemSamples · GitHub). It limits the degrees of freedom of the axis in a scene. Therefore, allowing you to stick to 2D while using physics.

2 Likes