Skip to main content

QueryTriggerInteraction

Overrides the global Physics.queriesHitTriggers. Unity QueryTriggerInteraction

Elements

ElementDescription
QueryTriggerInteraction.CollideQueries always report Trigger hits.
QueryTriggerInteraction.IgnoreQueries never report Trigger hits.
QueryTriggerInteraction.UseGlobalQueries use the global Physics.queriesHitTriggers setting.