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 name Parents MFn type Compatible function sets
motionPath dependNode kMotionPath kBase
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) Type Default Flags
uValue (u) distance (double) 0.0cm outputinputconnectablestorablekeyable
u parameterization value for evaluating the path curve
frontTwist (ft) angle (double) 0.0deg outputinputconnectablestorablekeyable
Angle of rotation about the FRONT direction
upTwist (ut) angle (double) 0.0deg outputinputconnectablestorablekeyable
Angle of rotation about the UP direction
sideTwist (st) angle (double) 0.0deg outputinputconnectablestorablekeyable
Angle of rotation about the SIDE direction
allCoordinates (ac) double3 0.0, 0.0, 0.0 outputconnectable
The computed world space position
xCoordinate (xc) distance (double) 0.0cm outputconnectable
x-component of the current world space position
yCoordinate (yc) distance (double) 0.0cm outputconnectable
y-component of the current world space position
zCoordinate (zc) distance (double) 0.0cm outputconnectable
z-component of the current world space position
orientMatrix (om) matrix identity outputconnectable
The computed world space orientation vectors
rotate (r) double3 0.0, 0.0, 0.0 outputconnectable
The amount of world space rotations
rotateX (rx) angle (double) 0.0deg outputconnectable
Angle of rotation about the X-axis
rotateY (ry) angle (double) 0.0deg outputconnectable
Angle of rotation about the Y-axis
rotateZ (rz) angle (double) 0.0deg outputconnectable
Angle of rotation about the Z-axis
rotateOrder (ro) enum 0 outputinputconnectablestorable
The order of rotations for the rotate attr
flowNode (fn) Message n/a outputinputconnectable
For exchanging messages with a flow node during computation of the lattice point positions
geometryPath (gp) Generic NULL outputinputconnectablestorable
The curve path data input to use
positionMarkerTime (pmt) time 0film arrayoutputinputconnectablestorable
Times of the position markers
orientationMarkerTime (omt) time 0film arrayoutputinputconnectablestorable
Times of the orientation markers
follow (f) bool false outputinputstorable
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) bool false outputinputconnectablestorable
OBSOLETE
inverseUp (iu) bool false outputinputconnectablestorable
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) bool false outputinputconnectablestorable
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) enum 1 outputinputconnectablestorable
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) enum 2 outputinputconnectablestorable
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) enum 3 outputinputconnectablestorable
Indicates what to use as the world up vector
worldUpVector (wu) double3 outputinputconnectablestorable
World up vector
worldUpVectorX (wux) double 0.0 outputinputconnectablestorable
World up vector X component
worldUpVectorY (wuy) double 1.0 outputinputconnectablestorable
World up vector Y component
worldUpVectorZ (wuz) double 0.0 outputinputconnectablestorable
World up vector Z component
worldUpMatrix (wum) matrix identity outputinputconnectablestorable
World matrix for the up object
bank (b) bool false outputinputconnectablestorable
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) double 1.0 outputinputconnectablestorable
Scale factor to amplify/reduce the banking angle
bankLimit (bl) angle (double) 90.0deg outputinputconnectablestorable
Maximum computed bank angle will be limited to this value
fractionMode (fm) bool false outputinputstorable
When it is true the computation is based on the fraction of curve length instead of based on the parameter value
updateOM (uom) bool false outputinputhidden
This flag is used internally to update the alignment of the orientation markers