- Home /
Question by
matt1610 · Feb 07, 2019 at 11:24 PM ·
collidercollider2d
How to create smooth curved 2d colliders simply
I am trying to add 2d colliders to gameobjects like the attached image. I want the collider to follow the path of the image.
This seems like it should be a simple task but so far I've been unsuccessful. If I add a polygon collider to the gameobjects a collider is generated, but has many jagged edges that cause problems. I have also tried using someone else's bezier curve collider implemenation, which has some issues of it's own.
Can anyone tell me the best way to create colliders with these sort of shapes as simply as possible?
Thanks!
ai.png
(250.3 kB)
Comment