ドキュメント

Unity Engine

Unity Engine

useContactForce

Should the impulse force but applied to the contact point?
読み終わるまでの所要時間 1 分最終更新 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.