Skip to main content
2 of 2
Cleanup
DMGregory
  • 140.8k
  • 23
  • 257
  • 401

Yes, Unity has it own intersect method.

Attach a collider to your game objects that should check for collision. You do not have to use a Rigidbody for Bounds.Intersects. Also it works for both 2D and 3D

//If the first GameObject's Bounds enters the second GameObject's Bounds, output the message if (collider.bounds.Intersects(collider2.bounds)) { Debug.Log("Bounds intersecting"); }