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.
-
omarb
- Posts: 23
- Joined: Fri Jul 07, 2006 1:34 pm
Post
by omarb »
HI
my device is crashing, this is after showing/hiding a node many times
please check the following code, this is used to show and hide the node:
device.SceneManager.RootSceneNode.Children(k).Visible = not (device.SceneManager.RootSceneNode.Children(k).Visible)
(i am using vb.net)
any idea why is that happening?
thanks for the help
-
shurijo
- Posts: 148
- Joined: Sat Feb 21, 2004 3:04 am
Post
by shurijo »
Whats the error message?
Are you sure that device.SceneManager.RootSceneNode.Children(k) is a valid SceneNode? And you aren't off by 1 on your array?