Low-LoD Retargeting

Low-LoD Retargeting

Module description

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...
 

Function Documentation

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.

Parameters
pDstCharacterDestination character.
[out]pCharacterStateHIKCharacterState for the destination character. This HIKCharacterState holds the final solution generated by the retargeting solver.
pSrcCharacterSource character.
pSrcCharacterStateHIKCharacterState the solver retargets from the source character to the destination character.
pEffectorSetStateHIKEffectorSetState used for the full-body IK pass, if at least one solving step is set in this HIKEffectorSetState. See HIKSetIKSolvingStep().
pDstPropertyStateHIKPropertySetState containing all character properties to be used by the solver for the destination character.
pSrcPropertyStateHIKPropertySetState 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.