기술 자료

Unity Engine

Unity Engine

providesContacts

Whether or not this Collider generates contacts for Physics.ContactEvent.
읽는 시간 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: