Skip to content

BuoyancyZoneComponent.FluidDensity Property

Definition

Namespace: Brine2D.ECS.Components

Density of the fluid relative to the default body density. A value of 1 neutrally suspends a body with density 1; greater than 1 causes bodies to float, less than 1 causes them to sink. Default is 1.

public float FluidDensity { get; set; }

Property Value

System.Single