Hi.
I have a question about md2 animation. How can I stop an animation at any time?
For example, I have a MD2 model, a guy, and when I press the key, the guy moves in an animated walk, but when release the key, the guy stop and the animation must stop.
How can I stop and resume an animation?
Thanks
MD2 Animation question
Re: MD2 Animation question
Martin wrote:Hi.
I have a question about md2 animation. How can I stop an animation at any time?
For example, I have a MD2 model, a guy, and when I press the key, the guy moves in an animated walk, but when release the key, the guy stop and the animation must stop.
How can I stop and resume an animation?
Thanks
Try using:
Code: Select all
model1->setAnimationSpeed(0);
Games are fun to play but great to create.
would ofcause not look good
the crusial thing here is if irr can return the actual visual frame??
It is needed that the 'freeze' frame is one that leave the model in an belieable stands
eg setAnimationSpeed(0); should not be invoked before the animation was in its natual stands cyclus -say frame 58..65
so..
does irr have a method to return the visual frame of an model??
geee i miss a purpose oriented method survey:(
Honestly -how would it be posible to find this information from the present documentation?
the crusial thing here is if irr can return the actual visual frame??
It is needed that the 'freeze' frame is one that leave the model in an belieable stands
eg setAnimationSpeed(0); should not be invoked before the animation was in its natual stands cyclus -say frame 58..65
so..
does irr have a method to return the visual frame of an model??
geee i miss a purpose oriented method survey:(
Honestly -how would it be posible to find this information from the present documentation?
Regards.
Tech: win98se| 320mb ram| abitbe6| 433mhzceleron| atiRadeon7000.64mb| soundblaster125| dx9.0b | devCPP | IRR 0.12.0 |
Tech: win98se| 320mb ram| abitbe6| 433mhzceleron| atiRadeon7000.64mb| soundblaster125| dx9.0b | devCPP | IRR 0.12.0 |