Tank Rig pt 2. (the scripted UI)

Suite Screenshot       List Screenshot      Creation Window       Animation Screenshot


The UI for the tank handles the process of creating, editing, and animating the treads across terrain. For creation, the user simply selects the geometry in the scene that acts as the terrain, and press the “constrain” button. Procedures are then executed that creates an array of geometry-constrained locators that the tread is later point constrained between. Also, a data-structure is inserted in the node of the tank’s controls to keep track of the geometry, the clusters driving the tread and the names of the locators.

The constraint can later be deleted completely, or edited in the second tab. Here, the user can add or remove geometry targets to the current constraint system.

Once the constraint is complete, the third tab contains sliders for animating how the treads are affected by the terrain. Each piece of geometry is given a collapsible window that contains sliders for animating how much weight the geometry has on a given section of the tread (the tread possesses 32 weight-able sections). In other words, the sliders are connected to the weights of the constraint for each tread cluster. These sliders are keyable and can have expressions as well.


Demo of tread constraint

Demo of tread animation UI

MEL script of tread constraint interface


  1. Hi Sergio, the MEL Script doesn’t exist in that location anymore, is there a new location?
    Thank’s a lot.
    Javier Bernal
    CG Visual ltda.
    Bogotá, Colombia

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s