PhysicBox .center | Center of the box. |
PhysicBox .direction | The direction in which to cast the box. |
PhysicBox .halfExtents | Half the size of the box in each dimension. |
PhysicBox .layerMask | A Layer mask that is used to selectively ignore colliders when casting a capsule. Physics.DefaultRaycastLayers by default. |
PhysicBox .maxDistance | The max length of the cast. Mathf.Infinity by default. |
PhysicBox .orientation | Rotation of the box. Quaternion.identity by default. |
PhysicBox .queryTriggerInteraction | Specifies whether this query should hit Triggers. QueryTriggerInteraction.UseGlobal by default. |