Component:GravityForce: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Gravity Force
|Name=Gravity Force
}}
}}
{{stub}}
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 [[User:Frooxius|Frooxius]].


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Gravity|Float|
|Gravity|Float| The force to apply. Negative values are down and positive values are up.
|OverrideForceSpace|{{RootFieldType|RootSpace}}|TypeAdv1=true|
|OverrideForceSpace|{{RootFieldType|RootSpace}}|TypeAdv1=true| The space to calculate gravity force in. Is converted into the particle system's space.
}}
 
== 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 ==
Can be used to simulate gravity on particles In a particle system, or fire/smoke for rising particles.


== See Also ==
== See Also ==
* [[Component:RadialForce]]
* [[Component:LinearForce]]
* [[Component:GravityForce]]
* [[Component:Texture3D Force]]
* [[Component:SimplexTurbulentForce]]
* [[Component:ParticleSystem]]
* [[Photon Dust]]


[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Gravity Force]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Gravity Force]]
[[Category:Components{{#translation:}}|Gravity Force]]
[[Category:Components{{#translation:}}|Gravity Force]]
[[Category:ComponentStubs]]

Latest revision as of 19:16, 8 February 2025

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