WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Problems with node.getChild and node.collideBox (https://forum.worldviz.com/showthread.php?t=2251)

dtidrow 09-08-2009 09:12 AM

Problems with node.getChild and node.collideBox
 
I'm having an issue with node.collideBix() preventing the rendering of a node returned from node.getChild("name"). The relevant parts of the script look like this:

Code:

option1 = chassis.add('part1.ive')
display = option1.getChild("display")
display.collideBox()

'display' is a valid node, as I can toggle it on and off using node.visible(). As soon as I call 'display.collideBox()', the node disappears from view. Any ideas why this might be happening?

Don


All times are GMT -7. The time now is 06:04 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC