Hello,
Make sure you put something like this in your render loop:
view.scene.updateTime();
Or else the model may not update, and you won't see the difference in the
mesh.
-Pete

On Wed, Nov 18, 2009 at 8:45 AM, K1ngR4T <[email protected]> wrote:

> ok, i will dive right in with this one. I have loaded an MD2 model
> with a few different animation sequences into my project. What I want
> to do is have the animations switch when a certain key is pressed. Now
> I know that I should be using an addEventListener for my
> keyboardEvent.
>
> I have tried creating a function for each keyboard event and adding a
> line of code similar to this : animation.play(new AnimationSequence
> ("sequencename", true, true, 8));
>
> This does not seem to work though. How do I get my sequences to change
> according to key presses? I am sure this is a simple problem but a
> little help would be appreciated.
>
>


-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to