# BuoyancyInput()

> Create a default PhysicsBody.BuoyancyInput. The _mask defaults to PhysicsMask.All so every attached shape contributes unless explicitly filtered out. The surface defaults to a flat horizontal water surface at the world origin ( _surfacePosition = _zero, _surfaceNormal = _up ).

## Definition

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

```csharp
public BuoyancyInput()
```
