Both for performance and for effect, it is important to reduce the number of bones that Karma simulates in this skeleton. About 15 should be optimal. To remove the extra parts, try using the Part Hierarchy view modes (7 and 8). In these modes, asset parts are represented by points either white (with collision) or green (without collision). Select those parts that you wish to delete, and press delete (or select Delete from the Part List flyout menu, or context menu). It is essential that you only delete parts from the bottom of the hierarchy, and not parts in between two others (such as the spine). Remove parts until the skeleton is like that
on the right. Notice that the root bip01 has been removed.
You probably want to save your work now, so click Save in the Asset rollup on the Edit tab. Alternatively, you can tab back to the File tab and right-click the workspace, file, or asset to save each as appropriate. |
|
Before simulating the asset, you should rescale the mass of the asset. When the importer created the ragdoll, it automatically calculated the mass of parts from their volume, but these values are a bit too small in this model to achieve a good simulation. KAT has many tools to aid your tuning of mass and inertia of parts, so you shouldn't have to get too involved in the process. Press the Perform Action button in the Asset rollup. This will open a dialog showing the Asset Actions currently available. To begin with, select Auto-Calculate Mass Distribution. Choose 'All Parts' and set 'Total Mass' to 1. Click OK. This will recalculate the mass distribution of the asset such that its total mass is 1. |
|
If you open the part properties dialog by pressing the 'Properties' button in the Part list, and select parts, you will be able to see their mass and inertia values. Some of these parts will have very small inertia values because of their small size, and this can cause simulation errors. To prevent this, select Perform Action again, and this time choose 'Mass and Inertia Clamping'. Enable both mass and inertia clamping, and set the minimum mass to 0.01 and the minimum inertia to 0.001. Press OK.
|
|
Although the ragdoll isn't even nearly finished, it is worth seeing how it simulates. To start the simulation, use the VCR style controls on the toolbar, or press 'S' in a viewport. When simulating, another set of View Modes are available, so you may wish to play with these and the colour dialog (F9) to change your visualisation. You may drag the parts around with the left mouse button. Remember you can use Zoom Extents and Camera Targeting as in Step 4.
The strength of your mouse 'force' can be changed by pressing F5 or selecting View->Mouse from the toolbar. The timing bar shows the time taken per frame for collision detection (green) and dynamics simulation (red). You can also play with the simulation environment by changing the values in the Simulation Options rollup at the bottom of the Edit tab. |
|
...Prev Page |
KAT Home Page |
Next Page... |