how do you get more than one answer out of entitycollided?
entity = EntityCollided (carpiv,ID)
only returns 1 entity. But what if my object collides with two or more of the same type? There doesn't seem to be a way of finding the other entities of this type short of searching the whole collision space for my carpiv and checking the type of each one.
is there an array of entites collided by type? no way to index over them like with countcollisions, and CollisionEntity(obj,i)
it seems like something is missing!
I want to have all the info before i start coding around it. i can certainly check the whole collisionentity(obj,i) space and check getentitytype() if necessary.
thanks all
entity = EntityCollided (carpiv,ID)
only returns 1 entity. But what if my object collides with two or more of the same type? There doesn't seem to be a way of finding the other entities of this type short of searching the whole collision space for my carpiv and checking the type of each one.
is there an array of entites collided by type? no way to index over them like with countcollisions, and CollisionEntity(obj,i)
it seems like something is missing!
I want to have all the info before i start coding around it. i can certainly check the whole collisionentity(obj,i) space and check getentitytype() if necessary.
thanks all