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 |
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 |
|
|
frontTwist
(ft ) |
angle (double) |
0.0deg |
|
|
upTwist
(ut ) |
angle (double) |
0.0deg |
|
|
sideTwist
(st ) |
angle (double) |
0.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 |
|
|
|
orientMatrix
(om ) |
matrix |
identity |
|
|
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 |
|
|
flowNode
(fn ) |
Message |
n/a |
|
|
geometryPath
(gp ) |
Generic |
NULL |
|
|
positionMarkerTime
(pmt ) |
time |
0film |
|
|
orientationMarkerTime
(omt ) |
time |
0film |
|
|
follow
(f ) |
bool |
false |
|
|
normal
(nr ) |
bool |
false |
|
|
inverseUp
(iu ) |
bool |
false |
|
|
inverseFront
(if ) |
bool |
false |
|
|
frontAxis
(fa ) |
enum |
1 |
|
|
upAxis
(ua ) |
enum |
2 |
|
|
worldUpType
(wut ) |
enum |
3 |
|
|
worldUpVector
(wu ) |
double3 |
|
|
|
worldUpVectorX
(wux ) |
double |
0.0 |
|
|
|
worldUpVectorY
(wuy ) |
double |
1.0 |
|
|
|
worldUpVectorZ
(wuz ) |
double |
0.0 |
|
|
|
worldUpMatrix
(wum ) |
matrix |
identity |
|
|
bank
(b ) |
bool |
false |
|
|
bankScale
(bs ) |
double |
1.0 |
|
|
bankLimit
(bl ) |
angle (double) |
90.0deg |
|
|
fractionMode
(fm ) |
bool |
false |
|
|
updateOM
(uom ) |
bool |
false |
|