Hi Unity!
I have been using the 2D tools a lot recently and one thing that I have noticed is a Collider.bounds.intersects is missing from the 2D Collider.
This is causing me the issue of not being able to find a way to detect specific collisions for say my Enemy Colliding with Enemy and Enemy colliding with Player.
I currently use
void OnTriggerEnter2D(Collider2D collider)
{
}
but I can’t think of a way to specify with the Enemy Collider with a player.
I would normally do this in 3D with bounds.intersects and all would be fine but does anyone have any solutions for this?
Thanks