ドキュメント

Unity Engine

Unity Engine

queriesHitBackfaces

Whether physics queries should hit back-face triangles.
読み終わるまでの所要時間 1 分最終更新 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.