|
Objects can be created in a straightforward way, by assigning them to variables.
A BOX will be created, with default dimensions (25,25,25) and located in the origin (0,0,0). To view the object properties, we can use the built-in Showproperties function, which will list all properties of an object.
The following properties will be listed: .height : float To modify these properties, we simply type the object variable followed by the property, separated by a dot, just like the following example:
Notice the object will be livetime updated
in the viewports. <object>.pos.x = 17.5 - indicates
the X position These properties can vary according to the animation controllers assigned to the object.
We can assign modifiers using the built-in addmodifier function.
Using the same processes we used above, we can list all properties of the Bend modifier.
MAXScript will then list all properties: .angle : float
From the steps you've seen so far, you can imagine it's easier to create a Box and apply Bend to it directly. On the next tutorial you will see how to make these steps practical. Alexander Esppeschit Bicalho © 1999 |