I am loading a lot of 3d objects into my scene. What I want to do is store the object IDs in an array. I then want to be able to hide those objects using the stored ID #. I know with a 3d object, it will have a .VISIBLE property. How do I reference that property to an object using its ID #? Here is DBPro code I used and what I want to do;
for i=2001 to 2090
if object exist(i)
hide object i
endif
Next
HIDE OBJECT does not appear to be in the Object3d namespace.
I also do the same thing with SPRITEs. There is a HIDE SPRITE command in DBPro, but it doesn\'t appear to be included in the NAMESPACE for SPRITES in the GDK.net either.
\".VISIBLE = false\" will work for either entity, but I cannot figure out how to accomplish this in the GDK.net.
Any ideas?
Russell B. Davis/aerostudios