Sounds like a simple question and I'm sure the solution is simple but I couldn't find an answer on these forums.
My problem is that I want to load a level, play in it, drop it, then load another but when I looked in the Irrlicht help for a create function for nodes, I couldn't find one. I understand that drop() only works on things that are created. So if no create function exists for nodes, how do you create one that can be dropped?
My search only turned up one useful thread, which I didn't quite understand, somehow involving the grab() function. Does that turn non-drop()-able objects into drop()-able ones?
So, in short, if I have:
IAnimatedMesh* mesh = smgr->getMesh("data\\level01.3ds");
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );
How do I now drop() that?
Thanks!!
How do you drop a node?
-
- Posts: 34
- Joined: Sat Jul 30, 2005 9:45 am
- Contact:
-
- Posts: 22
- Joined: Wed Jun 08, 2005 2:44 pm