Cloth Simulation with Geometry Behavior

Baked cloth simulation replay can be done by using the Geometry Animation Behavior.

Adding the flag in the Geometry File

Creating and baking the nCloth simulation

To save to GCG (recommended)

Note: the vertex animation will be embedded in the GCG file, so after export, you can just delete the .mcc/.mcx files created for the Geometry Cache  

To save to FBX (alternative)

Adding the flag to your Character File (.gcha)

  • Create a new Asset Group node named Flag and connect it to the Character Node
  • Add an new Asset Group node named Empty and connect it to the Flag Asset Group node. This will allow to have part of the characters without flags 
  • Select the Flag Asset Group node and then select the flag mesh in Maya and click on the Import Geometry button  in the Geometry Tab. This will add a flag Mesh Asset node in the Flag Asset Group node
  • Set the Flag Asset Group node as weighted by clicking on the  button on the node (or by checking the Weighted checkbox in the Asset Properties panel)

 

New Geometry Nodes for the flag

Creating the Geometry Behavior

You are now ready to run the simulation tool and render your animation!