Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Physics.queriesHitBackfaces

public static bool queriesHitBackfaces;

Description

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.