Bombs circle collider2D issue

I have a bomb with a circle collider and an enemy. Bomb collider detects an enemy with OnCollisionEnter2D and destroy it. But an enemy cant move trough bomb collider in a damage radius and just stays till this obstacle disapears (yep seems like pretty smart AI) How can i disable collide between bomb an enemy but at the same time let the bomb collider detect enemy within it?

I imagine the best way would be to use triggers instead of colliders. They don’t block the physics but they are sense-able, although the API is slightly different. Read about all the details:

1 Like

Just realized this by myself minute ago omg thx!!!

1 Like