![]() |
Public API Reference |
![]() |
An animation node that generates an animation for a sub-part of the skeleton (a CS::Animation::iBodyChain) by specifying some geometrical constraints on the effectors placed on the skeleton. More...
#include <imesh/animnode/ik.h>
Public Member Functions | |
virtual void | AddConstraint (CS::Animation::EffectorID effector, csOrthoTransform &transform)=0 |
Add a constraint on the given effector so that it sticks to the given world transform. | |
virtual void | AddConstraint (CS::Animation::EffectorID effector, iMovable *target, const csOrthoTransform &offset)=0 |
Add a constraint on the given effector so that it sticks to the given transform of the iMovable. | |
virtual void | AddConstraint (CS::Animation::EffectorID effector, iCamera *target, const csOrthoTransform &offset)=0 |
Add a constraint on the given effector so that it sticks to the given transform of the iCamera. | |
virtual void | RemoveConstraint (CS::Animation::EffectorID effector)=0 |
Remove the constraint on the given effector. |
An animation node that generates an animation for a sub-part of the skeleton (a CS::Animation::iBodyChain) by specifying some geometrical constraints on the effectors placed on the skeleton.
This node is inactive until there are some constraints on some effector. The effectors are defined by iSkeletonIKNodeFactory::AddEffector().
virtual void CS::Animation::iSkeletonIKNode::AddConstraint | ( | CS::Animation::EffectorID | effector, |
csOrthoTransform & | transform | ||
) | [pure virtual] |
Add a constraint on the given effector so that it sticks to the given world transform.
effector | ID of the effector |
transform | Transform to stick to, in world coordinates |
virtual void CS::Animation::iSkeletonIKNode::AddConstraint | ( | CS::Animation::EffectorID | effector, |
iMovable * | target, | ||
const csOrthoTransform & | offset | ||
) | [pure virtual] |
virtual void CS::Animation::iSkeletonIKNode::AddConstraint | ( | CS::Animation::EffectorID | effector, |
iCamera * | target, | ||
const csOrthoTransform & | offset | ||
) | [pure virtual] |
virtual void CS::Animation::iSkeletonIKNode::RemoveConstraint | ( | CS::Animation::EffectorID | effector | ) | [pure virtual] |
Remove the constraint on the given effector.
This animation node won't be active anymore if there are no more constraints.