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 nameParentsMFn typeCompatible function sets
gravityFieldfieldkGravitykBase
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)TypeDefaultFlags
direction (d) compoundn/aoutputinputconnectablestorable
direction of gravity
directionX (dx) double0.0outputinputconnectablestorablekeyable
x-direction of gravity
directionY (dy) double0.0outputinputconnectablestorablekeyable
y-direction of gravity
directionZ (dz) double0.0outputinputconnectablestorablekeyable
z-direction of gravity