- Home /
Question by
KazYamof · Jun 08, 2019 at 07:11 PM ·
2dspriterendererpolygoncollider2d
Why Polygon Collider 2D is becaming convex?
I have a sprite renderer with a .png texture. I need to put a polygon collider surrounding the texture drawing (some black orthogonal lines ).
When the lines are orthogonal, the collider generated is convex, wich I do not want it to be. When the lines are curves, the collider is correct. See:
How to ensure the collider will surround my drawing exactly when I have straight lines?
sem-titulo.png
(53.3 kB)
Comment