Skip to content

ParticleEmitterComponent.Damping Property

Definition

Namespace: Brine2D.Systems.Rendering

Exponential drag coefficient applied each second via velocity *= exp(-Damping * dt). Frame-rate independent; a value of ~0.693 halves speed each second. 0 \(default\) means no drag. Gravity is applied after damping.

Note: when StartSpeedMultiplier / EndSpeedMultiplier are active they control the magnitude of the base velocity component independently; combining both features is supported but the multiplier curve takes priority over damping for the non-gravity component.

C#
public float Damping { get; set; }

Property Value

System.Single