기술 자료

Unity Engine

Unity Engine

useContactForce

Should the impulse force but applied to the contact point?
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useContactForce { get; set; }

Remarks

When true, the force is applied to the contact point which may cause the target to rotate. When off, the force is applied to the center-of-mass, therefore no rotation is produced.