기술 자료

Unity Engine

Unity Engine

queriesHitBackfaces

Whether physics queries should hit back-face triangles.
읽는 시간 1분최근 업데이트: 한 달 전

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.