Go to: Related nodes. Attributes.

The dragField node implements a simple drag force similar to wind resistance. It creates a force proportional to the velocity of the object being affected. The drag node has directonX/Y/Z attributes and a useDirection attribute. If useDirection is false, the drag pushes back in the oppsite of whatever direction the affected object is moving. If useDirection is true, the drag node uses the component of the object's velocity along the specified direction in place of the object's original velocity.

Node nameParentsClassificationMFn typeCompatible function sets
dragFieldfielddrawdb/geometry/dynamics/fieldkDragkBase
kNamedObject
kDependencyNode
kDagNode
kTransform
kField
kDrag

Related nodes

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

Attributes (9)

currentTime, direction, directionX, directionY, directionZ, inheritVelocity, motionAttenuation, speedAttenuation, useDirection

Long name (short name)TypeDefaultFlags
direction (d) compoundn/aoutputinputconnectablestorable
direction of drag
directionX (dx) double0.0outputinputconnectablestorablekeyable
x-direction of drag
directionY (dy) double0.0outputinputconnectablestorablekeyable
y-direction of drag
directionZ (dz) double0.0outputinputconnectablestorablekeyable
z-direction of drag
useDirection (ud) boolfalseoutputinputconnectablestorablekeyable
use direction parm yes/no
inheritVelocity (iv) double0outputinputconnectablestorablekeyable
the amount that drag is relative to movement of the drag field
motionAttenuation (mna) double0.0outputinputconnectablestorablekeyable
This reduces the effect of drag when the field is moving slowly. When motion attenuation is greater than zero there will be no drag when the field is stationary. When the speed of the the field is equal to or greater than the motion attenuation value then the full magnitude setting of the drag will be applied. This field requires that inheritVelocity be non-zero to have an effect.
speedAttenuation (spa) double0.0outputinputconnectablestorablekeyable
This attenuates the amount of drag when the speed of the particle is less than the speed attenuation value. This allows slow moving particles to not be affected much by the drag while still heavily damping fast moving ones.
currentTime (cti) time0filmoutputinputconnectablekeyable
This is the current time used to compute the velocity of the drag field, which affects the force applied. By default, it is given an incoming connection from the main time node. This can be replaced with some other connection (e.g. from an expression or param curve), and then the solving is done based on that time value.