smgr->getSceneNodeFromId

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
Hawk
Posts: 1
Joined: Sun Nov 30, 2003 7:32 pm

smgr->getSceneNodeFromId

Post by Hawk »

Hi!

Due runtime I create several IBillboardSceneNode's. Each one gets a unique Id, I create with a counter. I store those Id's in a core::list<s32> liste = core::list<s32>();, because later, I want to remove the nodes in order of appearance.

To achive that, I try to find the paticular node with scene::ISceneNode * tempBill = smgr->getSceneNodeFromId(*liste.getLast(), 0);

But everytime this line is called, the camera stops responding (I don't know if the application hangs of if it's just some other problem).

It would be great, if someone can help me, thanks!


Don't mind my english.... wasn't that good in shool... :roll:
Post Reply