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 ?
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.
opened 08:32AM - 19 Apr 23 UTC
Feature Request
Needs Triage
### Use Case
https://discuss.cocos2d-x.org/t/how-to-make-polygoncollider-only… -cover-non-transparent-image-part/58579
Creator now can just automatically extract the outermost contour of the image. We have to edit the extracted points like this:
![7cff24b2b36e17581366667151eda9b7b4e8c20d 1](https://user-images.githubusercontent.com/9999378/233016318-ac15e901-7081-4904-8996-07e76eab3106.png).
original image
![zero](https://user-images.githubusercontent.com/9999378/233017189-b7fb604a-87b4-4bb2-82cd-2f152c40dece.png)
### Problem Description
..
### Proposed Solution
_No response_
### How it works
_No response_
### Alternatives Considered
..
### Additional Information
_No response_
1 Like