Rigidbody.inertiaTensorRotationvar inertiaTensorRotation : QuaternionDescriptionThe rotation of the inertia tensor. If you don't set intertia tensor rotation from a script it will be calculated automatically from all colliders attached to the rigidbody.
JavaScript
// Resets the inertia tensor to be the coordinate system of the transform using UnityEngine; import UnityEngine |
