QueryTriggerInteraction
The QueryTriggerInteraction enumeration is used to control whether a physics query will interact with triggers.
| attributes | description |
|---|---|
| UseGlobal | Use global settings. This is the default option, which means using global settings to determine whether to consider triggers. Global settings can be changed in the static properties of the Physics class. |
| Ignore | Ignore trigger. If set to ignore, physics queries will ignore triggers and only consider the colliders of other objects. |
| Hit | Collides with triggers. If set to Collide, physics queries will consider collisions with trigger colliders. |
