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.