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

Enemy Spawning

$
0
0
I am trying to get an enemy to spawn in 10 different locations using Vector3 or just anchoring the spawn to an invisible object. I need it so that when a collider, attached to the player, collides with the location the enemy will spawn. It will then chase the player for about a minute and will then disappear. There must only be one enemy at a time on the map. My only problem here is I'm not quite certain on how to code this. I've gone through the tutorials on the Unity site but none of them specify how to do this.

Viewing all articles
Browse latest Browse all 1488

Trending Articles



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