ドキュメント

Unity Engine

Unity Engine

ResetCenterOfMass()

Resets the center of mass of the articulation body.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void ResetCenterOfMass()

Remarks

Computes the actual center of mass of the articulation body from all the attached colliders and stores it. When you call this function, the center of mass is automatically updated after any modification to the articulation body.