This command moves an object down or up while maintaining its orientation known as strafing ).
object.MoveDown(distance, time, animation, animation speed) object.MoveUp(distance, time, animation, animation speed)
distance | The distance object is to move |
time | The number of seconds that the move will take (if omitted, the movement is immediate) |
animation | The animation name to play (only for 3D objects) |
animation speed | The speed of the animation from 0 (slowest) to 100 ( fastest ). |
oworld = New World(); ocamera = New Camera(oworld); sphere = oworld.CreateSphere(50,50,50,25,25); ocamera.MoveBack(1200); //Move the sphere. sphere.MoveDown(400,5); //Loop While(TRUE);