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 name |
Parents |
Classification |
MFn type |
Compatible function sets |
dragField |
field |
drawdb/geometry/dynamics/field |
kDrag |
kBase
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) |
Type |
Default |
Flags |
|
direction
(d ) |
compound |
n/a |
|
|
directionX
(dx ) |
double |
0.0 |
|
|
|
directionY
(dy ) |
double |
0.0 |
|
|
|
directionZ
(dz ) |
double |
0.0 |
|
|
|
useDirection
(ud ) |
bool |
false |
|
|
inheritVelocity
(iv ) |
double |
0 |
|
|
motionAttenuation
(mna ) |
double |
0.0 |
|
|
speedAttenuation
(spa ) |
double |
0.0 |
|
|
currentTime
(cti ) |
time |
0film |
|