- Home /
PolygonCollider2D.points not updating if Auto Tiling is checked
Hi,
if I use a PolygonCollider2D and enable Auto Tiling such that the collider adapts itself to the Sprite, I would expect that PolygonCollider2D.points and PolygonCollider2D.GetPath() return the current corner points of the collider, but they do not. Instead they return the points of the collider as it would be if Auto Tiling is not checked.
Is there some way to get the real, current corner points of the collider? Is this behaviour wanted, or is this a bug? Thanks in advance!
Comment
I am having the same problem as you right now. It had been at least a year since you posted, I would like to know how do you solve this if you have any solutions for this?