# inertiaTensorRotation

> The rotation of the inertia tensor.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public Quaternion inertiaTensorRotation { get; set; }
```

### Remarks

If you don't set inertia tensor rotation from a script it will be calculated automatically from all colliders attached to the rigidbody.

### Examples

```csharp
// Resets the inertia tensor to be the coordinate system of the transform

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void ResetTensor()
    {
        GetComponent<Rigidbody>().inertiaTensorRotation = Quaternion.identity;
    }
}
```
