au3Irr2 Function Reference
_IrrAddFlyCircleAnimatorAnimator moving its parent node in a circular path.
#Include <au3Irrlicht2.au3>
_IrrAddFlyCircleAnimator($h_Node, $f_CenterX, $f_CenterY, $f_CenterZ, $f_Radius, $f_Speed)
Parameters
$h_Node | Handle of a scene Node. |
$f_CenterX, $f_CenterY, $f_CenterZ | Define center of the circular path. |
$f_Radius | Defines the radius of the circular path. |
$f_Speed | Defines how far the node is moved each frame. |
Return Value
Success: Handle of the created animator.Failure: False
Remarks
None
Related
_IrrRemoveAnimator
Example
#include "au3Irrlicht2.au3"
_IrrStart()
local $nodeCamera = _IrrAddCamera(10,10,10, 0,0,0 )
local $nodeTest = _IrrAddTestSceneNode()
_IrrSetNodeMaterialTexture( $nodeTest, _IrrGetTexture(".\media\au3irr2_logo.jpg"), 0)
_IrrSetNodeMaterialFlag( $nodeTest, $IRR_EMF_LIGHTING, $IRR_OFF )
_IrrAddFlyCircleAnimator($nodeTest, 0, 0, 0, 5, 0.005)
WHILE _IrrRunning()
_IrrBeginScene(0, 0, 0)
_IrrDrawScene()
_IrrEndScene()
WEND
_IrrStop()