Skip to content

Physics Overlap Collider

Get all colliders overlapping a BoxCollider, SphereCollider, or CapsuleCollider.

Use this action when you want to collect nearby or overlapping colliders based on an existing collider shape, such as a detection volume, placement preview, or melee hit area.

Parameters

Parameter Description
Collider Collider whose shape is used for the overlap query. Supports BoxCollider, SphereCollider, and CapsuleCollider.
Layer Mask Layers to include in the query.
Hit Triggers Whether the query should include trigger colliders. Uses Unity's QueryTriggerInteraction options.
Result Collider List variable that stores the overlapping colliders.
Result Count Optional integer output that stores the number of colliders found.

Notes

  • The source Collider itself is removed from the results.
  • If Collider is not set, Result is cleared and Result Count is set to 0.
  • Unsupported Collider types log an error, clear Result, and set Result Count to 0.
  • Use Physics Check Collider when you only need a yes/no result.