## DMM Scene node

The DMM Scene node is automatically created when the first DMM Object is created. Each newly created DMM Object is connected to the scene node. The global settings affecting the DMM simulation are accessible as attributes of the DMM Scene node. Sub-step, glue all, DMM cache are among those. Also this node has a "disable" attribute that can be keyed to enable and disable the DMM simulation at specific times.

It is possible to have more than one DMM Scene node in a Maya scene. This is very useful when creating a complex scene with independent DMM Object clusters. Each cluster of DMM Objects can be connected to a different DMM Scene node. Each scene node runs its own DMM simulator so there is no interaction between their connected objects.

Use the DMM Scene Manager (under the "DMM Scene" menu) to deal with multiple DMM Scene nodes.

The "DMM Scene" menu makes it possible to create new DMM Scene nodes and to merge existing ones together. When a new DMM Object is created, it is connected to the "active" DMM Scene node. To set the active scene node, double click on the node name or select it and click on "OK". Click on the "Select Highlighted DMM Scene" button to have Maya select the active DMM Scene node. To find out which DMM Scene node a DMM Object is connected to, click on the "Highlight Selected DMM Object's Scene Node" button.

To set he default values used when creating a DMM Scene node, select "DMM Scene >> Default DMM Scene Settings...".

The default sub-step, glue all, gravity and unit scale can be set.

For more on the DMM Scene node attributes read this section.

Next: DMM Cache