Note: The Path controller has been replaced by the Path_Constraint PositionController in 3ds Max 4. The description below applies to versions prior 3ds Max 4 and is thus obsolete and provided for reference only.
Path_Constraint : PositionController
Turn on to avoid the situation in which an object flips when going around a vertically oriented path.
axis = 0 - X; 1 - Y; 2 - Z
Flips the direction of the object on the path 180 degrees.
Allows the object to bank (roll) as it negotiates the curves of the spline.
The amount of the banking to one side or the other, depending on whether the value is positive or negative.
Provides a constant velocity along the path. When off, the velocity of the object along the path varies depending on the distance between the vertices on the path.
Aligns the object to the trajectory as it follows the contour.
When turned on, the path controlled object will loop back to the start point of the path, after the end point is reached.
The spline in the scene that you want the selected object to follow.
object will follow the resultant path which is the weighted average
of the paths in this array. The weight for each path is found in
the corresponding entry in
The percent that the object is positioned along the path.
When turned on, the path controlled object will maintain the position offset between its initial position and the start point of the path.
Controls how rapidly the roll angle changes as the object moves through bends in the trajectory. Smaller values will make the object more responsive to subtle changes in the curve, while larger values smooth out jerking. The default value is a good value for general damping along the curve. Values below 2 tend to make the action jerky, but values around 3 can be very useful for simulating a certain degree of realistic instability.
containing weights corresponding to entries in the
The following script shows an example of assigning and animating a path controller.
thePath=circle radius:50 -- create shape node for path
theObj=cone radius1:6 radius2:0 height:15 -- create object to travel on path
theObj.pos.controller=path follow:true -- assign path controller to object
PosCont=theObj.pos.controller -- grab the path controller
PosCont.path=thePath -- set path to shape node
PosCont.axis=2 -- point local Z axis along path
animate on -- create keys at…
at time 30 PosCont.percent=25 -- frame 30 - 25% along path
at time 100 PosCont.percent=95 -- frame 100 - 95% along path
Controller Common Properties, Operators, and Methods
MAXWrapper Common Properties, Operators, and Methods
Value Common Properties, Operators, and Methods