Hi. I'm trying to set the MD2 animation of an AnimatedMeshSceneNode, however it's being returned as a regular scene node (see below). However, this is causing a compile error when said node's MD2 animation is set because it's not returned as animated. Is there any workaround? I'm using non-SVN Irrlicht 1.1.
by the way...
why there's no getMD2Animation() method in Irrlicht in spite of a fact that there's setMD2Animation() one? i know, that it takes a few minutes to add currentAnimationState variable which will come in help when time has come to change node's current animation state. ( we don't want to change animation state on the same which is currently, right? that's the reason of all this discuss ).
but in any case i thought, why Irrlichht doesn't have getMD2Animation()?
just interesting..
I would guess this is because setMD2Animation is ugliness to begin with, and adding getMD2Animation would mean breaking even more people's code when it's eventually removed!