Animation of md2 files in irrlicht 1.5

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mcbart
Posts: 19
Joined: Thu Aug 07, 2008 11:36 am

Animation of md2 files in irrlicht 1.5

Post by mcbart »

Hi!
I have one problem with irrlicht version 1.5. In version 1.2 to display animation of run i was using SetFrameLoop. It doesnt works in 1.5, because i can see that model shake not run. I help myself with tutorials and i saw somethinng like "setMD2Animation ( EMD2_ANIMATION_TYPE anim ) " and scene::EMAT_RUN. I have red in api documentation that it's standart animation or something like that, but what can i do if i wannna use my own md2 file model with animation of run. Should i only write that the same code or assign animation of run to scene:EMAT_RUN somehow?? What to do ??
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

What format do you mean, md2 or md3? Both should be able to use the proper frameloop values.
mcbart
Posts: 19
Joined: Thu Aug 07, 2008 11:36 am

Post by mcbart »

Md2. i have made mistake while writting post. In irrlicht 1.5 i have a problem with this because it display right animation when i use scene::EMAT_RUN. It doesnt works when i use setFRameLoop.
Post Reply