Physics.queriesHitBackfaces

Cambiar al Manual
public static bool queriesHitBackfaces ;

Descripción

Whether physics queries should hit back-face triangles.

By default, all physics queries such as a raycast or a shape sweep (e.g. SphereCastAll) won't detect hits with back-face triangles.