- Home /
Question by
SantosR · Jun 10, 2014 at 04:32 PM ·
colliderpolygon collider 2dpolygoncollider2d
PolygonCollider2D shape problem on iOS
I have an app where I add a PolygonCollider2D dynamically to sprites in order to be able to drag them through the screen. It works perfectly in the computer, but on the device the hit area is misrepresented.
I wonder if there are any limitation to PolygonColliders on iOS, or possibly to the generation of it's vertices data on runtime.
Any thoughts?
Comment
The solution I've found was generating the polygon colliders in the editor, because apparently it doesn't work on runtime in iOS.