|
We can add modifiers to the objects using the Addmodifier command.
Using MAXScript, apply a Bend and a Twist modifier to this object.
To access a modifier applied to an object, you can use many ways:
Renaming modifiers like Xform, Mesh Select, among others, makes it easier to select them through MAXScript, if not you would have problems to know which modifier you were accessing, because multiple modifiers would have the same names. To rename modifiers in the Stack List, use the Edit Stack button. Change the Bend angle to 45º and the direction to 30º.
We can also change the animation controller of any parameter in MAX, using the .controller property. You will now change the position controller of the cylinder to a Path Controller.
Using showproperties, list the Path Controller's properties: .axis : integer Now create a shape anywhere in your drawing, and name it Path01. Using MAXScript you will select this shape as the path in the Path Controller.
If you wish, you can change more parameters in the Path Controller. You can download the cylinder_bend.max file, which is the result of this lesson. ![]() Alexander Esppeschit Bicalho © 1999 |