Component:LinearForce: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Linear Force
|Name=Linear Force
}}
}}
{{stub}}
The '''LinearForce''' component applies force to all particles within a system towards a direction regardless of particle position.


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Force|Float3|
|Force|Float3| The direction to force particles in.
|OverrideForceSpace|{{RootFieldType|RootSpace}}|TypeAdv1=true|
|OverrideForceSpace|{{RootFieldType|RootSpace}}|TypeAdv1=true| What Transform space the force direction is in rather than in the particle system's local 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 ==
{{stub}}


== 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:}}|Linear Force]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Linear Force]]
[[Category:Components{{#translation:}}|Linear Force]]
[[Category:Components{{#translation:}}|Linear Force]]
[[Category:ComponentStubs]]

Revision as of 18:58, 8 February 2025

Component image 
File:LinearForceComponent.png
Linear Force component as seen in the Scene Inspector

The LinearForce component applies force to all particles within a system towards a direction regardless of particle position.

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.
Force Float3 The direction to force particles in.
OverrideForceSpace direct RootSpace What Transform space the force direction is in rather than in the particle system's local 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

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also