Why Edge Collider is not working but capsule collider does

image
So i set the edge collider like this, comes with a rigidbody ofc. Then…

But if i turned off the edge collider one and replace it with the capsule collider, things work like a charm.

Well if i just follow Rick like a zombie and no question asked, everything is fine, but this little thing is bothering my curiousity, anyone know why?

Edge colliders do not collide with other edge colliders. It’s a limitation of the underlying Box2D physics engine that is used. It has something to do with the fact that edge colliders do not have volume. You could use a PolygonCollider2D instead. Or follow Rick like a zombie. :grin:

Well if that is an engine limitation, then I have nothing left to complain about, guess I will do with what I have then. Thanks for the heads up bro :grinning_face_with_smiling_eyes:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms