Box2D polygon dynamic objects

Hi. I cant understand how i can create polygons dynamic body in Defold? I have car body, but in Defold i get multi collision game object and it behaviour very stranger.

You can only use convex hull shape:

1 Like

Yes, I see it. I trust create body in Physics Editor, but after import I get strange behaviour. For one convexshape object I get limit 16 points. Why, if in original Box2d we can create polygon objects with unlimited points

In original Box2D the limit is 8 points. We took it upon ourselves to update to 16 points.

1 Like