IrrAddFlyStraightAnimator

section index

## NAME

IrrAddFlyStraightAnimator - fly straight path.

## SYNOPSIS

*animator.l = IrrAddFlyStraightAnimator(*irr_node.l, start_x.f,start_y.f, start_z.f, end_x.f,end_y.f,end_z.f,time_to_complete.l,loop_path.l)

## INPUTS

*irr_node.l | - | refers to a node you have added to the scene.
start_x.f,start_y.f,start_z.f | - | specify the start point of the path.
end_x.f,end_y.f,end_z.f | - | specify the end point of the path.
end_x.f,end_y.f,end_z.f | - | specify the end point of the path.
time_to_complete.l | - | Time to complete specifies the number of milliseconds the animator will take to move the node from the start to the end point
loop_path.l | - | determines if the node will be moved from the start to the end and then stopped or whether the animation will be looped (#True or #False)

## FUNCTION

This animator makes the node it is attached to move in a straight line from the start to the Endpoint. It would be useful for objects moving on a conveyor belt For example.

## EXAMPLE

       *FlyAnimator.l = IrrAddFlyStraightAnimator( *AnimatedBox, 0,50,-300, 0,50,300, 3000, #True )

## RESULT

pointer to a Irrlicht-Animator.