Force Field

Generate a directional (wind or gravity), point, vortex, turbulence, or drag force field.

What it does

Generates a force for a physics simulation: wind, a gravity-like pull, a spinning vortex, gusty turbulence or velocity drag. Pick a Force Type, then set direction, strength and where in space it takes hold. The output plugs into Physics World's Forces input, which accepts more than one Force Field at a time, so forces can be layered.

Position and Radius keep a force local, a gust near one spot or an attractor pulling objects toward a point, rather than applying it to the whole scene. Falloff shapes how the force fades toward the edge of that radius.

When to use it

ParameterTypeDefaultWhat it does
force_typeString"Directional"Force type: Directional (wind), Point (attractor/repulsor), Vortex (rotational), Turbulence (noise), Drag (velocity damping). One of: Directional, Point, Vortex, Turbulence, Drag.
direction_xNumber1Force direction X (Directional: wind direction, Vortex: rotation axis)
direction_yNumber0Force direction Y
direction_zNumber0Force direction Z
strengthNumber50Force magnitude (negative = invert direction for Point)
position_xNumber0Force origin X (Point/Vortex center, spatial falloff origin)
position_yNumber0Force origin Y
position_zNumber0Force origin Z
radiusNumber0Influence radius (0 = global/infinite)
falloffString"None"Falloff curve within radius. One of: None, Linear, Quadratic, Smooth.
noise_amplitudeNumber0Noise amplitude (gustiness for Directional, full strength for Turbulence)
noise_frequencyNumber0.010Noise spatial frequency
noise_speedNumber1Noise temporal speed

Gotchas

For a Point force, a negative Strength inverts the pull into a push, so one knob covers attractor and repulsor.

Radius defaults to 0, which means the force reaches everywhere with no falloff. Set a radius before Falloff does anything.

Direction applies to Directional and Vortex only, and for Vortex it sets the spin axis. Noise applies to Directional and Turbulence only. Point and Drag hide those groups, because they do not use them.

Worked example

  1. Add a Force Field and wire its output into Physics World's Forces input.

  2. Set Force Type to Directional, then set Direction and Strength for a steady wind.

  3. Give it a Position and Radius so the wind only affects one region, and pick a Falloff so it fades smoothly at the edge.

  4. Raise Noise Amplitude and Noise Frequency for gusty variation, and Noise Speed to control how fast the gusts shift over time.

See also

Physics World · Rigid Body Sim · Flow Field · Vector fields