Loading IAnimatedMeshSceneNode from .irr file

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
legyndir
Posts: 2
Joined: Tue Mar 18, 2008 3:11 pm

Loading IAnimatedMeshSceneNode from .irr file

Post by legyndir »

Hi all,

I searched for the topics but couldnt find a answer for this. Here is the thing:
I create some animatedmeshscenenodes in irredit. Then in my code i load the irr file. But I can only access the node as ISceneNode so I cant get the animations from the original node. So I cant access animation properties of the node.

In short, what is the best way to get IAnimatedSceneNode from irr file??

And 1 more question:
Is there any good .X exporter for 3dsmax other than panda or kW x-port?

Thx for help
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Grab the ISceneNode and then cast it to an IAnimatedMeshSceneNode, et voila ;)
Image Image Image
dudMaN
Posts: 111
Joined: Fri Mar 02, 2007 6:37 pm

Post by dudMaN »

What JP said ^^.

IAnimatedMeshSceneNode *node = (IAnimatedMeshSceneNode*)getSceneNodeSomehow();

-DudMan
Complete Irrlicht Beginners Tutorial
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=24898
Post Reply