Skip to main content

Physics.queriesHitTriggers

NameType
queriesHitTriggersboolean

Description

Specifies whether queries (raycasts, spherecasts, overlap tests, etc.) hit Triggers by default. This can be overridden on a per-query level by specifying the QueryTriggerInteraction parameter.