identifying a 3d object in 3d space

Blitz3D Forums/Blitz3D Programming/identifying a 3d object in 3d space

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


FindChild (ground, cylinder5), this returns the 5th cylinder, but what does that mean :)



It means you can do :

Cylinder5=FindChild(ground,"cylinder5")

You now have a handle to the cylinder - Cylinder5 - and you can do what you like to it the same as any other entity.If Cylinder5 is a global variable then you can access it from anywhere in your program.