# PhysicsBody.MassConfiguration

> This holds the mass configuration computed for a PhysicsBody.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEquatable\<MassConfiguration>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct PhysicsBody.MassConfiguration : IEquatable<PhysicsBody.MassConfiguration>
```

## Properties

| Property                                                                                                                  | Description                                                          |
| ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [center](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/massconfiguration/center.md)                       | The position of the shape's centroid relative to the shape's origin. |
| [mass](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/massconfiguration/mass.md)                           | The mass of the shape, usually in kilograms.                         |
| [rotationalInertia](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/massconfiguration/rotationalinertia.md) | The rotational inertia of the shape about the shape center.          |

## Static Properties

| Property                                                                                                                        | Description                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| [defaultConfiguration](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/massconfiguration/defaultconfiguration.md) | Get a default mass configuration with a mass of one, a rotational inertia of one and a centroid at the origin. |
