# rotationalInertia

> The rotational inertia of the body, usually in kg*m^2. This can be accessed as a union of _mass, _rotationalInertia and _localCenterOfMass using _massConfiguration. When this value is overridden with _massOverride, setting it authors the override value, which persists across mass recalculations.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

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