Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Killing wrong enemy problem

$
0
0
Hello everyone, here's the problem. I made enemies as a prefab. If I jump on an enemy, it doesn't kill the enemy I stomped on, but the other one. I realized if I add more enemies, that it always kills the one which has biggest number in its name, for example if I add another one, it will be called "Enemy (2)", and if I jump on any enemy, Enemy (2) will be killed. Here's the video for better explanation (sorry for not being HD): https://youtu.be/4bMYw7s116k I do not know what I did wrong?

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>