Using HumanIK
Using HumanIK at runtime involves three general phases:
- Initialization. During this phase, you create and set up the characters you intend
to control with HumanIK. This phase is carried out once, before you start using HumanIK. See Initialization.
- Solving. During this phase, you call the HumanIK inverse kinematics or retargeting solver to calculate new positions for your characters,
and apply those new positions back to your game. The steps involved in this phase
are typically carried out at each frame.
The steps to carry out in this phase differ depending on which solver you are using;
see Inverse Kinematics Solving or Retargeting Solving.
- Cleanup. During this phase, you release the memory resources allocated during the
initialization phase. This phase is carried out once, after you have finished using
HumanIK for your characters. See Cleanup.