QueryTriggerInteraction
RAYCASTING | ADVANCED PARAMETERS
QueryTriggerInteraction overrides the global Physics.queriesHitTriggers to specify whether queries hit triggers by default.
There are three settings that the QueryTriggerInteraction parameter can be set too...
QueryTriggerInteraction.UseGlobal --> Queries use the global Physics.queriesHitTrigger setting
QueryTriggerInteraction.Ignore --> Queries never report Trigger hits
QueryTriggerInteraction.Collide --> Queries always report Trigger hits
Last updated