gravity_influence
The gravity influence applies a simple acceleration along a direction.
To use this node, plug its output into the influences
input of a simulate node like simulate_aero
, simulate_particles
, or simulate_mpm
.
Inputs
influence
One may optionally connect an influence field out_influence into this port. For example a mask_influence node could be connected to mask the effect of this influence. Any number of influence fields may be added to the daisy chain to build a complex field.
enable
Turn off to disable the effect. Disabling makes it a pass through node. Note that any other influence fields connected to the influence input port will still be active when this is disabled.
magnitude
This is the strength of the acceleration generated in Meters/Second/Second. The default 9.8 is the value of earth's gravity at sea level. You can connect a ScalarField
to vary the effect over space.
direction
This is a vector for the direction of the field. The default of 0,-1, 0 is downward. It is normalized internally , so this only affects direction, not magnitude. You can connect a VectorField
to vary the effect over space.
Outputs
out_influence
An output influence object that one can connect to simulation nodes or other influence nodes.