# automaticCenterOfMass

> Whether or not to calculate the center of mass automatically.

## Definition

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

```csharp
public bool automaticCenterOfMass { get; set; }
```

### Remarks

If enabled, the center of mass is calculated automatically based on the settings of attached [Collider](/engine/6000.7/script-reference/unityengine/collider.md)s. If no colliders are present, the center of mass has a default value of Vector3(0,0,0).
