Skip to content

SubEmitterConfig.VelocityInheritance Property

Definition

Namespace: Brine2D.Systems.Rendering

Fraction of the triggering particle's velocity added to each newly-spawned sub-particle's velocity at birth. 0 \(default\) means no inheritance. 1 means the sub-particle fully inherits the parent particle's velocity at the moment of the trigger \(death, birth, or lifetime\-fraction\). Useful for sparks or debris that should carry the momentum of the particle that produced them.

Note:InitialVelocity is always in world space (no entity transform is applied to sub-emitters). The inherited velocity is added in world space on top of InitialVelocity after spread randomisation.

C#
public float VelocityInheritance { get; set; }

Property Value

System.Single