Rigidbody.ResetInertiaTensor

매뉴얼로 전환
public void ResetInertiaTensor ();

설명

Reset the inertia tensor value and rotation.

Computes the inertia tensor, and the inertia tensor rotation from the colliders attached to this rigidbody and stores it. After calling this function, the inertia tensor and tensor rotation will be updated automatically after any modification of the rigidbody.