Go to: Related nodes. Attributes.

This is the motionPath node which is used for the motionPath animation to compute the position and orientation, of the animated object, by evaluating the curve connected to the geometryPath attribute at the value provided by the uValue attribute.

The basic node configuration for a motionPath animation is as follows:

  1. Create a motionPath node.
  2. Connect its geometryPath attribute to the curve node.
  3. Connect its allCoordinates attribute to the translate attribute of the transform of the animated object.
  4. Create an animCurveTL node and connect it to the uValue attribute of the motionPath node.
  5. Add some keyframes to the animCurve.

(animCurve) \ \ (motionPath) --> (transform) / / (curve)

For each keyframe created in the animCurve, a positionMarker is created and connected to the positionMarkerTime attribute of the motionPath node, and vice versa.

Node nameParentsClassificationMFn typeCompatible function sets
motionPathnodeanimationkMotionPathkBase
kNamedObject
kDependencyNode
kMotionPath

Related nodes

flow

Attributes (35)

allCoordinates, bank, bankLimit, bankScale, flowNode, follow, fractionMode, frontAxis, frontTwist, geometryPath, inverseFront, inverseUp, normal, orientMatrix, orientationMarkerTime, positionMarkerTime, rotate, rotateOrder, rotateX, rotateY, rotateZ, sideTwist, uValue, upAxis, upTwist, updateOM, worldUpMatrix, worldUpType, worldUpVector, worldUpVectorX, worldUpVectorY, worldUpVectorZ, xCoordinate, yCoordinate, zCoordinate

Long name (short name)TypeDefaultFlags
uValue (u) distance (double)0.0cmoutputinputconnectablestorablekeyable
u parameterization value for evaluating the path curve
frontTwist (ft) angle (double)0.0degoutputinputconnectablestorablekeyable
Angle of rotation about the FRONT direction
upTwist (ut) angle (double)0.0degoutputinputconnectablestorablekeyable
Angle of rotation about the UP direction
sideTwist (st) angle (double)0.0degoutputinputconnectablestorablekeyable
Angle of rotation about the SIDE direction
allCoordinates (ac) double30.0, 0.0, 0.0outputconnectable
The computed world space position
xCoordinate (xc) distance (double)0.0cmoutputconnectable
x-component of the current world space position
yCoordinate (yc) distance (double)0.0cmoutputconnectable
y-component of the current world space position
zCoordinate (zc) distance (double)0.0cmoutputconnectable
z-component of the current world space position
orientMatrix (om) matrixidentityoutputconnectable
The computed world space orientation vectors
rotate (r) double30.0, 0.0, 0.0outputconnectable
The amount of world space rotations
rotateX (rx) angle (double)0.0degoutputconnectable
Angle of rotation about the X-axis
rotateY (ry) angle (double)0.0degoutputconnectable
Angle of rotation about the Y-axis
rotateZ (rz) angle (double)0.0degoutputconnectable
Angle of rotation about the Z-axis
rotateOrder (ro) enum0outputinputconnectablestorable
The order of rotations for the rotate attr
flowNode (fn) Messagen/aoutputinputconnectable
For exchanging messages with a flow node during computation of the lattice point positions
geometryPath (gp) GenericNULLoutputinputconnectablestorable
The curve path data input to use
positionMarkerTime (pmt) time0filmarrayoutputinputconnectablestorable
Times of the position markers
orientationMarkerTime (omt) time0filmarrayoutputinputconnectablestorable
Times of the orientation markers
follow (f) boolfalseoutputinputstorable
A flag to determine whether or not the FRONT direction of the animated object(s) be aligned to the tangent of the path
normal (nr) boolfalseoutputinputconnectablestorable
OBSOLETE
inverseUp (iu) boolfalseoutputinputconnectablestorable
A flag to determine whether or not the UP direction of the animated object(s) be aligned to the inverse of the computed up
inverseFront (if) boolfalseoutputinputconnectablestorable
A flag to determine whether or not the FRONT direction of the animated object(s) be aligned to the inverse of the computed front vector
frontAxis (fa) enum1outputinputconnectablestorable
An index (x=0, y=1, z=2) to specify which local-axis of the animated object is aligned as the front direction
upAxis (ua) enum2outputinputconnectablestorable
An index (x=0, y=1, z=2) to specify which local-axis of the animated object is aligned as the up direction
worldUpType (wut) enum3outputinputconnectablestorable
Indicates what to use as the world up vector
worldUpVector (wu) double3outputinputconnectablestorable
World up vector
worldUpVectorX (wux) double0.0outputinputconnectablestorable
World up vector X component
worldUpVectorY (wuy) double1.0outputinputconnectablestorable
World up vector Y component
worldUpVectorZ (wuz) double0.0outputinputconnectablestorable
World up vector Z component
worldUpMatrix (wum) matrixidentityoutputinputconnectablestorable
World matrix for the up object
bank (b) boolfalseoutputinputconnectablestorable
A flag to determine whether or not the UP direction of the animated object(s) be affected by the curvature of the path
bankScale (bs) double1.0outputinputconnectablestorable
Scale factor to amplify/reduce the banking angle
bankLimit (bl) angle (double)90.0degoutputinputconnectablestorable
Maximum computed bank angle will be limited to this value
fractionMode (fm) boolfalseoutputinputstorable
When it is true the computation is based on the fraction of curve length instead of based on the parameter value
updateOM (uom) boolfalseoutputinputhidden
This flag is used internally to update the alignment of the orientation markers