Hello,
I've been scripting a flash game in AS2 with a similar theme to CoD's "zombies".
My problem is with the zombies themselves, I'm at my wits end trying to figure out a way to make sure they can't pass through each other as though they are solid objects.
I have been able to do the above with the player by using the following code:
I'm spawning the zombies as follows (where k increases each time a zombie spawns.)
Is there a way I can do a hit test with all objects but the current one? Please help!