Home Unity

AI Help

I guys im trying develop a simple AI for my game right know the player section is working fine, the melle enemy too, it have a chase range and an attack range, now im trying to work in a ranged enemy everything works fine but not im trying to instanciate a fireball(sphere) from enemy to player, right now i get fireball instantiated at the enemy position but it doesnt move. How can i make it follow player until it collides with player and then destroy the prefab?

Replies

Sign In or Register to comment.