Page 1 of 1

urgently need help (device is crashing)

Posted: Tue Aug 01, 2006 1:13 pm
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

Posted: Wed Aug 02, 2006 4:32 am
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?