This page details the functions used to perform a retargeting for a character with a low level of detail.
See also ~{ Solving at a Lower Level of Detail }~.
Functions | |
void | HIKSolveForCharacterLowLOD (const HIKCharacter *pDstCharacter, HIKCharacterState *pCharacterState, const HIKCharacter *pSrcCharacter, const HIKCharacterState *pSrcCharacterState, HIKEffectorSetState *pEffectorSetState, const HIKPropertySetState *pDstPropertyState, const HIKPropertySetState *pSrcPropertyState) |
Retarget the pose defined by HIKCharacterState pSrcCharacterState from character pSrcCharacter to character pDstCharacter , saving the result in HIKCharacterState pCharacterState . More... | |
void HIKSolveForCharacterLowLOD | ( | const HIKCharacter * | pDstCharacter, |
HIKCharacterState * | pCharacterState, | ||
const HIKCharacter * | pSrcCharacter, | ||
const HIKCharacterState * | pSrcCharacterState, | ||
HIKEffectorSetState * | pEffectorSetState, | ||
const HIKPropertySetState * | pDstPropertyState, | ||
const HIKPropertySetState * | pSrcPropertyState | ||
) |
Retarget the pose defined by HIKCharacterState pSrcCharacterState
from character pSrcCharacter
to character pDstCharacter
, saving the result in HIKCharacterState pCharacterState
.
After retargeting the source character to the destination character, this function calls HIKSolveForEffectorSetLowLOD() to perform an IK pass.
pDstCharacter | Destination character. | |
[out] | pCharacterState | HIKCharacterState for the destination character. This HIKCharacterState holds the final solution generated by the retargeting solver. |
pSrcCharacter | Source character. | |
pSrcCharacterState | HIKCharacterState the solver retargets from the source character to the destination character. | |
pEffectorSetState | HIKEffectorSetState used for the full-body IK pass, if at least one solving step is set in this HIKEffectorSetState. See HIKSetIKSolvingStep(). | |
pDstPropertyState | HIKPropertySetState containing all character properties to be used by the solver for the destination character. | |
pSrcPropertyState | HIKPropertySetState for the source character. This state is only used if you have enabled the HIKSolvingStepContact solving step in your HIKEffectorSetState. If so, the property HIKFootBottomToAnkleId is read from this HIKPropertySetState to define the height of the source character's ankles. This value is used to adapt the height of the poses generated for the destination character. |