Component:VelocityDrag

From Resonite Wiki
Component image 
File:VelocityDragComponent.png
Velocity Drag component as seen in the Scene Inspector

The VelocityDrag component makes particles in a particle system slow down towards 0 Velocity when not acted upon as if moving through a substance.

This component is part of the Photon Dust system made by Frooxius.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Drag Float How much to slow down particles to 0 velocity.

Usage

Attach to a slot, add to the list of modules in a Component:ParticleSystem, and adjust the values to make the desired effect from this component.

Examples

Particles moving through water like a rock falling through water and affected by gravity with a Component:GravityForce.

See Also