(One intermediate revision by one other user not shown)
Line 3:
Line 3:
|Name=Radial Force
|Name=Radial Force
}}
}}
The '''RadialForce''' component makes particles attracted or repelled from a point in 3D space when they get closer or further away.
The '''RadialForce''' component makes particles attracted or repelled from a point in 3D space when they get closer or further away. The gradient for the force does not cut off at <code>MinDistance</code> and/or <code>MaxDistance</code>. instead the gradient continues into infinity at the value it was when it hits these values. The <code>Force</code> determines the distance truely if <code>MinDistance</code> is at 0 and <code>MaxDistance</code> is at infinity.
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].
Line 9:
Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Force|Float| How much force this component exerts on particles in a system.
|Mode|RadialForceMode| How to determine how the force is calculated.
|MinDistance|Float| The minimum distance for the force gradient, aka force gradient start point, the gradient does not stop here.
|MaxDistance|Float| The maximum distance for the force gradient, aka force gradient start point, the gradient does not stop here.
|MinForce|Float| how much force should be applied at <code>MinDistance</code> modified by <code>Force</code>.
|MaxForce|Float| how much force should be applied at <code>MaxDistance</code> modified by <code>Force</code>.
|OverrideForceSpace|{{RootFieldType|RootSpace}}|TypeAdv6=true| The space to calculate this component's values in. The values get converted to the particle system's space.
|Center|Float3| The center point of the force point.
|Center|Float3| The center point of the force point.
|Force|Float| How much force this component exerts on particles in a system.
|OverrideForceSpace|{{RootFieldType|RootSpace}}|TypeAdv2=true| The space to calculate this component's values in. The values get converted to the particle system's space.
The RadialForce component makes particles attracted or repelled from a point in 3D space when they get closer or further away. The gradient for the force does not cut off at MinDistance and/or MaxDistance. instead the gradient continues into infinity at the value it was when it hits these values. The Force determines the distance truely if MinDistance is at 0 and MaxDistance is at infinity.