Doubt
by Scott Doerrfeld · in General Discussion · 04/19/2007 (5:08 am) · 2 replies
Hey all,
a small doubt, given a point, is it possible to find out if a bot/ shape is occupying that particular position given by the point,
Thanks
a small doubt, given a point, is it possible to find out if a bot/ shape is occupying that particular position given by the point,
Thanks
About the author
#2
InitContainerRadiusSearch looks like what you need.
04/19/2007 (6:25 am)
This might help: Containers and RaycastsInitContainerRadiusSearch looks like what you need.
Torque Owner John Doppler Schiff
If you're comfortable working with the engine source code, there's the following function:
In script, there's the containerFindFirst() function and its kin, containerFindNext(). Those will search for objects of a specific type (e.g., a bot) inside the area of a given box. The box can be as small as you need it to be.
Anyone know a quicker or easier way to do this?