Function _IrrSetTransitionTime

au3Irr2

au3Irr2 Function Reference

_IrrSetTransitionTime

Sets the transition time across which two poses of an animated mesh are blended.

#Include <au3Irrlicht2.au3>
_IrrSetTransitionTime($h_Node, $f_Speed)

 

Parameters

$h_Node Handle to a character scene node.
$f_Speed Speed of the transition

 

Return Value

Success: True
Failure: False

 

Remarks

For example a character in a sitting pose can be switched into a lying down pose by blending the two frames,
this will provide a more convincing smooth transition instead of a snap change in position.
_IrrAnimateJoints must be called before IrrDrawScene if blending is used.

 

Related

_IrrAnimateJoints, _IrrSetJointMode