What i want to is to surroud an object (we call this object the "Thing" ) with a web of detectors. It should look something like this:
<img src="http://img88.imageshack.us/img88/9669/detectorsemptyls5.jpg">
What i want to be able to do is to create the Thing, and have the detectors created and positioned like this automaticly. Is that possible to do with for example groups/containers?
I also need a way to give every detector a private variable like the ones written on the image, (i didn't write all of them) to easily associate to them, plus one to associate them with the right "thing" and i need a simple way to make events trigger if a certain combination of detectors are overlapping/not overlapping. For example, if the case was this:
<img src="http://img134.imageshack.us/img134/39/detectorsde8.jpg">
player overlapping not overlapping
it could be two private strings, one "overlapping" which would say: 39,40,41 And one "not overlapping" which would say: 13,14,15,22,23,24,30,31,32,33
EDIT: Of course there would be more numbers. All the numbers would be overlapping or not overlapping. This would rather be a mall for colision testing. Hm.. now it became confusing.
I have a few ways to do this, but every one of them requires much repetition, and risk to have to go through 44 events if you want to change something.