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.
-
trollger
- Posts: 84
- Joined: Tue Jun 01, 2010 2:17 am
- Location: At my computer
Post
by trollger »
Another simple question how do you remove a child node from its parent
I tried:
MyNode->removeChild(MyOtherNode);
but I got an app crash (no errors)
-
Iyad
- Posts: 140
- Joined: Sat Mar 07, 2009 1:18 am
- Location: Montreal, Canada
Post
by Iyad »
It is probably a segmentation fault. Be sure that you are not using the child node after you removed it.
#include <Iyad.h>
-
trollger
- Posts: 84
- Joined: Tue Jun 01, 2010 2:17 am
- Location: At my computer
Post
by trollger »
Alright I'll look at it again