Version: 2022.3

ArticulationBody.ResetInertiaTensor

切换到手册
public void ResetInertiaTensor ();

描述

Resets the inertia tensor value and rotation.

Computes the inertia tensor and the inertia tensor rotation from the colliders attached to this articulation body and stores it. When you call this method, the inertia tensor value and rotation are automatically updated after any modification of the articulation body.