ドキュメント

Unity Engine

Unity Engine

providesContacts

Whether or not this Collider generates contacts for Physics.ContactEvent.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public bool providesContacts { get; set; }

Remarks

If this property is set to
true
, all contacts produced by this collider will appear in the buffer. If this property is set to false, contact generation will depend on these factors: