This plug-in uses the MotionBuilder Open Reality SDK to integrate HumanIK into a custom MotionBuilder character solver. You can use this custom solver within MotionBuilder to control your characters using features that are available within this version of HumanIK but not natively within your version of MotionBuilder, such as realistic knee solving, collar stiffness, and animation trajectory retargeting.
The solver built by this sample is analogous to the HumanIK solver that is included in the MotionBuilder release, but updated to use this release of the HumanIK libraries.
In order to compile and run this sample, you must have installed both a recent version of MotionBuilder and the Open Reality SDK.
To use the MotionBuilder solver built by the sample:
Most of the solver's controls directly expose character properties from the HumanIK HIKPropertySetState object. For details on these properties and their values, see the topics under Character Properties.
The solver offers some additional controls:
| property |
description |
|---|---|
| Weight |
Determines how much weight is given to the HumanIK solver relative to the native MotionBuilder solver—i.e. the blend between the poses resulting from the two solvers. A weight setting of 100 uses only the HumanIK solver; a weight setting of 0 uses only the native MotionBuilder solver. |
| Save HIK Character |
Exports the HIKCharacter that represents the current character to a file. You can load this file into memory for use with HumanIK at runtime by calling the HIKLoadCharacter function. |
| Save HIK State |
Exports the HIKCharacterState that represents the current pose of the character’s skeleton to a file. You can load this file into memory for use with HumanIK at runtime by calling the HIKLoadCharacterState function. |
| Save HIK Effectors |
Exports the HIKEffectorSetState representing the current position, rotation and IK constraints of the character’s control rig to a file. You can load this file into memory for use with HumanIK at runtime by calling the HIKLoadEffectorState function. |
| Save HIK Properties |
Exports the HIKPropertySetState representing the current setup of the character to a file. You can load this file into memory for use with HumanIK at runtime by calling the HIKLoadPropertySetState function. |