Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetInertiaTensor()

Resets the inertia tensor value and rotation.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

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.