Exporting and Importing DMM Animation
DMM animations can be used in games that don't have the DMM middleware included. Instead of simulating in real-time, the simulation that was done in Maya can be played back in a game. To export a simulation, turn on the cache. Run the DMM simulation in Maya the choose "DMM Scene >> Save Cached Animation." This will write the DMM animation data to an XML file. The file can be used directly or can be converted to a more compressed format to play back in a game.
DMM animations can also be loaded via "DMM Scene >> Load Cached Animation." For scenes that require a lot of simulation time this can be a big time saver. Simply play the scene with the cache on and save the cached animation. When the scene is loaded later, the animation can also be loaded and so the cache will be valid. If an animation does not match the current scene when it is loaded (the objects are wrong) then the results and indeterminate.