Component:VelocityDrag: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Velocity Drag
|Name=Velocity Drag
}}
}}
{{stub}}
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 [[User:Frooxius|Frooxius]].


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Drag|Float|
|Drag|Float| How much to slow down particles to 0 velocity.
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
}}
}}


== Usage ==
== 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 ==
== Examples ==
Particles moving through water like a rock falling through water and affected by gravity with a [[Component:GravityForce]].


== See Also ==
== See Also ==
* [[Component:ParticleSystem]]
* [[Photon Dust]]


[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Velocity Drag]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Velocity Drag]]
[[Category:Components{{#translation:}}|Velocity Drag]]
[[Category:Components{{#translation:}}|Velocity Drag]]
[[Category:ComponentStubs]]

Latest revision as of 21:08, 8 February 2025

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