Quadrupeds

Module description

This section describes utility functions for use with quadruped characters.

See also
~{ Using HumanIK for Quadrupeds }~.

Functions

void HIKAddQuadripedOffset (const HIKCharacter *pCharacter, HIKCharacterState *pCharacterState)
 Add quadruped offsets to HIKCharacterState pCharacterState. More...
 
void HIKSubQuadripedOffset (const HIKCharacter *pCharacter, HIKCharacterState *pCharacterState)
 Subtract quadruped offsets from HIKCharacterState pCharacterState. More...
 

Function Documentation

void HIKAddQuadripedOffset ( const HIKCharacter pCharacter,
HIKCharacterState pCharacterState 
)

Add quadruped offsets to HIKCharacterState pCharacterState.

Parameters
pCharacterThe HIKCharacter to which the offsets will be added.
pCharacterStateThe HIKCharacterState to which the offsets will be added.
Remarks
All characters, both biped and quadruped, must be characterized in a T-stance. This default T-stance, returned by the HIKGetDefaultState() function, can provide a good neutral starting point for animating bipeds. However, it is not a natural position for quadrupeds. The HIKAddQuadripedOffset() function adds a set of offsets to the T-stance that produce a similar basic starting position for a quadruped. The following Nodes are offset to the following rotations:
+ Examples:
void HIKSubQuadripedOffset ( const HIKCharacter pCharacter,
HIKCharacterState pCharacterState 
)

Subtract quadruped offsets from HIKCharacterState pCharacterState.

Parameters
pCharacterThe HIKCharacter from which the offsets will be subtracted.
pCharacterStateThe HIKCharacterState from which the offsets will be subtracted.
Remarks
Reverses all offsets added by the HIKAddQuadripedOffset() function.
+ Examples: