SpacePathDeform - superclass: SpacewarpModifier; super-superclass:MAXWrapper - classID: #(69812, 32670)
The node designated as the path.
Moves the object along the gizmo path based on a percentage of the path length.
Scales the object along the gizmo path, using the object’s pivot point as the base of the scale.
Rotates the object about the gizmo path.
Twists the object about the path. The twist angle is based on the rotation of one end of the overall length of the path. Typically, the deformed object takes up only a portion of the path, so the effect can be subtle.
Choose one to rotate the gizmo path to align with a specified local axis of the object:
When on, reverses the gizmo path 180 degrees about the specified axis.
The PathDeform World Space Modifier provides an additional "Move To Path" button in the UI which is not directly exposed to MAXScript, but its functionality can be easily scripted.
What it does is setting the transformation matrix of the deformed object to the transformation matrix of the deformation path.
thePath = Circle
theObj = Box heightsegs:20 --create a box with 20 height segments
theMod = SpacePathDeform() --create an instance of the PathDeform WSM
addModifier theObj theMod --add to the box
theMod.path = thePath --set the path to the Circle shape
theObj.transform = thePath.transform --MOVE TO PATH!
You can link the deformed object to the path to keep the transformation matrix identical - moving the path around should keep the deformed object aligned.
PathDeform : Modifier
Modifier Common Properties, Operators, and Methods
MAXWrapper Common Properties, Operators, and Methods
Value Common Properties, Operators, and Methods