Go to: Related nodes. Attributes.

The gravityField node implements a simple gravity force. It exerts a gravitational pull with gravitational constant equal to the magnitude attribute, in the direction specified by the direction X/Y/Z attributes.

Node name Parents Classification MFn type Compatible function sets
gravityField field drawdb/geometry/dynamics/field kGravity kBase
kNamedObject
kDependencyNode
kDagNode
kTransform
kField
kGravity

Related nodes

rigidConstraint, dynBase, field, airField, turbulenceField, radialField, vortexField, newtonField, volumeAxisField, dragField, uniformField, pointEmitter, particle, rigidBody, geoConnectable, spring

Attributes (4)

direction, directionX, directionY, directionZ

Long name (short name) Type Default Flags
direction (d) compound n/a outputinputconnectablestorable
direction of gravity
directionX (dx) double 0.0 outputinputconnectablestorablekeyable
x-direction of gravity
directionY (dy) double 0.0 outputinputconnectablestorablekeyable
y-direction of gravity
directionZ (dz) double 0.0 outputinputconnectablestorablekeyable
z-direction of gravity