# inertia

> The Rigidbody's resistance to changes in angular velocity (rotation).

## Definition

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

```csharp
public float inertia { get; set; }
```

### Remarks

Rotational inertia controls a Rigidbody's resistance to changes in [\_angularVelocity](/engine/6000.7/script-reference/unityengine/rigidbody2d/angularvelocity.md). It is similar to how [\_mass](/engine/6000.7/script-reference/unityengine/rigidbody2d/mass.md) controls a Rigidbody's resistance to changes in [\_linearVelocity](/engine/6000.7/script-reference/unityengine/rigidbody2d/linearvelocity.md).

The rotational inertia is automatically calculated based on the Rigidbody's [\_mass](/engine/6000.7/script-reference/unityengine/rigidbody2d/mass.md) position relative to the [\_centerOfMass](/engine/6000.7/script-reference/unityengine/rigidbody2d/centerofmass.md).  It can also be specified explicitly by setting this property in the same way [\_mass](/engine/6000.7/script-reference/unityengine/rigidbody2d/mass.md) can be set.
