View Full Version : ray collision / object awareness

02 February 2006, 01:46 AM
I have a grid of basic cube-like shapes sitting side by side, X columns wide and Y rows deep.

I've been trying to write XPRESSO that could detect whether there is an object to the left, right, top, bottom or whether the object is on the edge of the grid. At first I thought ray collision would be perfect... but you have to specify the one object you want to test for collisions with. I'm assuming that an object hierarchy could be used, but I need the Xpresso xpression to be as mobile as possible (so the idea of specifying which hierarchy to check wouldnt work).

Is this possible? Am I crazy?

CGTalk Moderation
02 February 2006, 01:46 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.