Import physics onto existing controllers from disk.
You can import a Ragdoll setup exported from Maya, back into Maya. It'll re-create everything just the way it was.
What is included in the export?
Just about everything.
- Attribute changes
- Replaced meshes
- Thumbnail of your viewport
What isn't included in the export?
- The cached simulation
Will I get identical results when simulating an imported scene?
Yes, anything else is a bug.
More precisely, determinism depends on (1) the type and number of items in the solver along with (2) the order in which these are created. Both of these are part of the exported file format and is taken into account during import. Meaning you should get identical results so long as the content is the same.
Here's an exported Ragdoll setup for the free CG Spectrum Tiger rig.
To use it, download the rig and import the Ragdoll file.
It contains 2 levels of detail.
|Level 0||Body and feet|
|Level 1||Everything on Level 0, plus toes|
Here's the rundown.
- Assign markers
- Tweak values
- Open a new scene, with the same character
On import, Ragdoll will try and find the names of what you exported in your currently opened scene.
- If all names match, import should go smoothly. Preserving all of your hard work!
- If names do not match, if for example the namespace differs, there is an option to override the namespace from the file via the
- If names don't match at all, if for example it was grouped differently on export or it is a different character altogether, then you can try using the
Search and Replacefields to modify the names searched for by Ragdoll.
Once you're happy with your character, it's time to export. Towards the bottom of the UI, you'll get a preview of what is about to be exported. This can help clarify that what ends up on disk is what you expect.
In a new scene, with the same character, same names and everything, import as you'd expect. At the bottom of this UI, you'll get a preview of what's in the file on disk, along with how it will associate the node names found in the file with what you have on disk.
Namespace from File
Odds are, the character you're importing either has no namespace, or has a different namespace to what you've currently got in your scene. As in this example here, with 3 copies of the same character, each with its own namespace.
Namespace dropdown to select one of the current namespaces in your scene, or
Custom to type one in yourself.
Solver from File
Per default, Ragdoll will import the file into the current solver in your scene, if any. Or, you can import the original solver from the source file.
Here are a few things that will be addressed over time. Let us know if you encounter anything else!
|Missing Replaced Mesh||If you replace the mesh of a marker, but this mesh isn't present in the scene during import, you'll get a Capsule instead. The vertices of the geometry isn't stored in the exported file, only the name of the mesh you replaced with.|
|Linked Solvers||These turn into a single, unified solver on import.|