Page 1 of 1

Problems getting AnimatedMeshSceneNode in .Net

Posted: Sat Jan 06, 2007 1:57 pm
by Stainless
I am loading a level designed with irredit which contains several static meshes and a single animated mesh

I am attempting to get the scenenode for the animated mesh by

Code: Select all

SceneNode man=scene.GetSceneNodeFromName("Man");
This works okay, but I cannot cast it to an AnimatedMeshSceneNode to set the animation.

Extra data

Posted: Sat Jan 06, 2007 2:02 pm
by Stainless
The SceneNodeType is AnimatedMesh.

but GetType returns SceneNode

Posted: Fri Mar 16, 2007 10:48 am
by Eldritch
I am having the exact same problem. I cannot cast a read SceneNode into anything usable without the program crashing... using Irrlicht .NET CP for C#.