Question by
erikmokross · Oct 28, 2017 at 09:06 PM ·
2dcollidercollider2d2d collision
2D Polygon Collider doesnt collide with 2D edge Collider
Hey, so im using 2 sprites, the first is a polygon collider and the second a capsule collider and a beziercurved collider wich is actually just an curved edge colider. My polygon collider and the edge collider doesnt collide with each other. What should I do? A polygon collider instead of the curved edge collider wouldnt be smooth enough.
Thanks.
Comment
Answer by starrtennis · Aug 08, 2019 at 11:33 PM
Just routine suggestions: Double check the layers of the two game objects and that the layers they're in are set to interact through collision in the physics engine in the game settings.
https://docs.unity3d.com/Manual/LayerBasedCollision.html
Make sure neither collider is a Trigger or they won't collide.