How to get the parent not using getParent()??

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
matiae
Posts: 16
Joined: Wed May 31, 2006 8:06 am
Location: Chile

How to get the parent not using getParent()??

Post by matiae »

Is there another way to get it?? I ask because the function is not present in Irrlicht.NET :( :!:
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

why not using the getparent

Post by juliusctw »

at worst you can use the scene manager and loop through everything in there to match your node and check its parent, but why would you do that?
matiae
Posts: 16
Joined: Wed May 31, 2006 8:06 am
Location: Chile

Post by matiae »

haaa right, but sure that is expensive.. isn't there a more direct way?? I wonder why getParent() is not implemented :?
Post Reply