Content-Length: 20497 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/PhysicsScene.OverlapBox.html
| Parameter | Description |
|---|---|
| center | Center of the box. |
| halfExtents | Half of the size of the box in each dimension. |
| results | The buffer to store the results in. |
| orientation | Rotation of the box. |
| layerMask | A Layer mask that is used to selectively filter which colliders are considered when casting a box. |
| queryTriggerInteraction | Specifies whether this query should hit Triggers. |
int
The amount of colliders stored in results.
Find all colliders touching or inside of the given box, and store them into the buffer.
Additional resources: Physics.OverlapBoxNonAlloc.
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/PhysicsScene.OverlapBox.html
Alternative Proxies: