Component:GravityForce

From Resonite Wiki
Component image 
File:GravityForceComponent.png
Gravity Force component as seen in the Scene Inspector

The GravityForce component acts as a global force for particles that makes them fall either up or down along the Up axis.

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.
Gravity Float The force to apply. Negative values are down and positive values are up.
OverrideForceSpace direct RootSpace The space to calculate gravity force in. Is converted into the particle system's space.

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

Can be used to simulate gravity on particles In a particle system, or fire/smoke for rising particles.

See Also