Version: 2023.2

ArticulationBody.ResetCenterOfMass

切换到手册
public void ResetCenterOfMass ();

描述

Resets the center of mass of the articulation body.

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.