D
Dengar
Guest
I have several instances of the same object and I need to check for collisions within an area and get the id's of all the instances that were collided with.
I believe I need to cycle through all the instances of that object and have it check itself, but im not sure how this would work. I have a crude idea of counting the instances and then doing a loop that many times and somehow referencing there ids each time it loops to check them? I don't kno.
the number of instances of the object will vary.
im very lost on how to code it, but is this even the right way?
I believe I need to cycle through all the instances of that object and have it check itself, but im not sure how this would work. I have a crude idea of counting the instances and then doing a loop that many times and somehow referencing there ids each time it loops to check them? I don't kno.
the number of instances of the object will vary.
im very lost on how to code it, but is this even the right way?