Hi all

I have an md2 model, very simple for test purposes. It has 4 animation
sequences embedded, "up", "down", "left" and of course "right". I
would like to be able to change between these sequences when the user
presses the corresponding arrow keys on the keyboard. Could somebody
please refer me to a code example or even please just put together a
simple example for me as i am really stuck.

I am using a switch statement for the inputs using something like
this :

case Keyboard.LEFT :
                                        animTest.play(new 
AnimationSequence("left", true, true, 8));
                                        break;

etc. for each key. This does not work, any help would be greatly
appreciated. I do have scene.updateTime(); in my render loop so that
can't be the problem. When I try run the file I get an access of
undefined property error for animTest.

Thanks a million :)

Reply via email to