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:
- Create a motionPath node.
- Connect its geometryPath attribute to the curve node.
- Connect its allCoordinates attribute to the translate
attribute of the transform of the animated object.
- Create an animCurveTL node and connect it to the uValue
attribute of the motionPath node.
- 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 | Classification | MFn type | Compatible function sets |
---|
motionPath | node | animation | 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 |
---|
|
bank
(b )
| bool | false | |
|
|
bankScale
(bs )
| double | 1.0 | |
|
|
bankLimit
(bl )
| angle (double) | 90.0deg | |
|
|
allCoordinates
(ac )
| double3 | 0.0, 0.0, 0.0 | |
|
| xCoordinate
(xc )
| distance (double) | 0.0cm | | |
|
| yCoordinate
(yc )
| distance (double) | 0.0cm | | |
|
| zCoordinate
(zc )
| distance (double) | 0.0cm | | |
|
|
flowNode
(fn )
| Message | n/a | |
|
|
follow
(f )
| bool | false | |
|
|
fractionMode
(fm )
| bool | false | |
|
|
frontAxis
(fa )
| enum | 1 | |
|
|
frontTwist
(ft )
| angle (double) | 0.0deg | |
|
|
inverseFront
(if )
| bool | false | |
|
|
inverseUp
(iu )
| bool | false | |
|
|
normal
(nr )
| bool | false | |
|
|
orientMatrix
(om )
| matrix | identity | |
|
|
orientationMarkerTime
(omt )
| time | ::zero | |
|
|
geometryPath
(gp )
| Generic | NULL | |
|
|
positionMarkerTime
(pmt )
| time | ::zero | |
|
|
rotate
(r )
| double3 | 0.0, 0.0, 0.0 | |
|
| rotateX
(rx )
| angle (double) | 0.0deg | | |
|
| rotateY
(ry )
| angle (double) | 0.0deg | | |
|
| rotateZ
(rz )
| angle (double) | 0.0deg | | |
|
|
rotateOrder
(ro )
| enum | 0 | |
|
|
sideTwist
(st )
| angle (double) | 0.0deg | |
|
|
upAxis
(ua )
| enum | 2 | |
|
|
upTwist
(ut )
| angle (double) | 0.0deg | |
|
|
updateOM
(uom )
| bool | false | |
|
|
uValue
(u )
| distance (double) | 0.0cm | |
|
|
worldUpMatrix
(wum )
| matrix | identity | |
|
|
worldUpType
(wut )
| enum | 3 | |
|
|
worldUpVector
(wu )
| double3 | | |
|
| worldUpVectorX
(wux )
| double | 0.0 | | |
|
| worldUpVectorY
(wuy )
| double | 1.0 | | |
|
| worldUpVectorZ
(wuz )
| double | 0.0 | | |
|