Version: 2019.1

Physics.queriesHitTriggers

Switch to Manual
public static bool queriesHitTriggers ;

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.

See Also: Physics.Raycast.