I dont understand why you write:
Try this instead:
Understand that you have to use AnimateMD2 once to start or stop an animation, and if no key is pressed, stop it. If you call it every loop it will not work.
If Not KeyDown(200) Then AnimateMD2 bob,1,0.1,9,1
Try this instead:
;---------- ;animation (!!!!!!!!!!) If KeyDown(200)=0 And KeyDown(208)=0 Then AnimateMD2 bob,0 If KeyHit(200) Then AnimateMD2 bob,1,0.1,1,9 EndIf If KeyHit(208) Then AnimateMD2 bob,1,-0.1,1,9 EndIf ;---------- ;End Code
Understand that you have to use AnimateMD2 once to start or stop an animation, and if no key is pressed, stop it. If you call it every loop it will not work.