Playing a Simulation
DMM simulations are played just like Maya animations and Maya dynamics. To play a DMM simulation, click the Maya play button. The DMM simulator will not step forward more than 1/25 of a second, and it will not step backward. The DMM simulator allows the setting of a sub-step value. It is basically a multiplying factor for the frame rate. The default Maya play setting is 1/24 second with the default DMM sub-step is 8 so the simulation step is 1/192 second. Video games typically run at 1/30 or 1/60 second. Either of these frame rates can be set with a DMM sub-step of one in order to preview in Maya how DMM will look in a game. A more accurate simulation with better collision detection and better convergence for very stiff materials can be achieved with a higher sub-step value. DMM may behave differently with different frame rates and sub-steps.
The frame rate is set in Maya preferences under the settings category. The DMM sub-step is set in the DMM Scene node attributes panel via the Attributes Editor. To select the active DMM Scene node, click on the "DMM Scene >> Select Active DMM Scene Node" menu item.
The DMM Cache can be used in order to record the DMM simulation and play it backwards.
Notes:
|