Hi,
i work on defense game and game have many enemies.
i put enemies in enemy family with health instance , then set for soldier 20 , car 50, tank 100 health.
i have mine on game for destroy enemies so when enemies On collision with mine:
enemies(Family) => set health to 0 ( or -1).
i have : enemies(Family) <= 0 =======> enemies Destroy.
but my enemies on collision with mine, their health set with 0 , but do not destroy !
where is the problem?
(sorry for my bad english)