How to make PolygonCollider only cover non-transparent image part

Hello,
I’m using cocos creator 3.7.2, and I want to make PolygonCollider for number zero,

When I create that in Unity (it’s work as expected)

But when I create in cocos creator, PolygonCollider is cover all transparent inside image.

How to make PolygonCollider cover only non-transparent image same as Unity ?

Here’s my image:

Thank you

Creator now can just automatically extract the outermost contour of the image. However, you can try to edit the extracted points like this:

1 Like

That mean, now we must manual create polygon collider for this shape?
I think it’s better support automatic create polygon in near future
Do you think so ? :grinning:

This is a great feature and we will implement it in the future. Tasks have been added internally, and subsequent engine developers will arrange time to process them.

1 Like