Path_Constraint - superclass: PositionController; super-superclass:MAXWrapper - 12:0 - classID: #(8209, 0)
Constructor
Path_Constraint ...
Properties
<Path_Constraint>.percent Float default: 0.0 -- animatable; percentage; Controller Scaling: (1 : 100.0)
Sets the percent that the object is positioned along the path. This duplicates the Value spinner in the track Properties dialog for the Percent track in Track View. If you want to set keys to place an object at a certain percent along the path, turn on Animate, move to the frame where you want the key set, and adjust the % Along Path spinner to move the object.
<Path_Constraint>.follow BooleanClass default: false -- boolean
Aligns the object to the trajectory as it follows the contour.
<Path_Constraint>.path UndefinedClass default: undefined -- node; Path_Constraint
Add Path: is used to add a new spline path that influences the constrained object.
Delete path: is used to remove a path from the target list. Once removing the path target, it will no longer influence the constrained object
<Path_Constraint>.bank BooleanClass default: false -- boolean
Allows the object to bank (roll) as it negotiates the curves of the spline.
<Path_Constraint>.bankAmount Float default: 0.5 -- animatable; float; Bank_Amount
Adjusts the amount of the banking to one side or the other, depending on whether the value is positive or negative
<Path_Constraint>.smoothness Float default: 0.5 -- animatable; float
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.
<Path_Constraint>.allowUpsideDown BooleanClass default: false -- boolean; Allow_Upside_Down
Turn on to avoid the situation in which an object flips when going around a vertically oriented path.
<Path_Constraint>.constantVel BooleanClass default: false -- boolean; Constant_Velocity
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.
<Path_Constraint>.axis Integer default: 0 -- integer
Defines which axis of the object is aligned to the trajectory of the path.
<Path_Constraint>.axisFlip BooleanClass default: false -- boolean; Axis_Flip
Turn on to flip the direction of the axis
<Path_Constraint>.loop BooleanClass default: false -- boolean
By default, when the constrained object reaches the end of a path it can no longer move past the end point. The loop option changes this behavior so that when the constrained object reaches the end of the path it loops back to the starting point.
<Path_Constraint>.relative BooleanClass default: false -- boolean
Turn on to maintain the original position of the constrained object. The object will follow the path with an offset distance based on its original world space position
See also