PDA

View Full Version : Add Object Event


Vygreif
02-14-2006, 06:03 PM
Hi,
I know this is kind of an odd question, but I want to make a Vizard module that can be added to any program and autometicly makes a list of all the objects in the world. Is there a way to get an array of all the Objects in the world? Or a way to interrupt a viz.add call, as in a viz.interrupt?

Thanks,
YG

farshizzo
02-15-2006, 09:40 AM
Hi,

I'm assuming by objects you mean all node3d objects? The following should return a list of all the current node3d objects in the world:n = viz._GlobalNodeList.values()What exactly are you trying to do?

Vygreif
02-15-2006, 04:16 PM
I'm trying to make a module that will constantly record the position and orientation of all the objects in the world in an external file, and be able to play them back.