queriesHitBackfaces
Whether physics queries should hit back-face triangles.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public static bool queriesHitBackfaces { get; set; }
Remarks
By default, all physics queries such as a raycast or a shape sweep (e.g. SphereCastAll) won't detect hits with back-face triangles.