Quantcast
Viewing all articles
Browse latest Browse all 1488

Enemy is not moving to player with A* pathfinding

I have my player moving perfectly the way I want to but I must be missing some component on my enemy. My enemy is not a seeker like the player and the script for the enemy movement is basic movement. Do I have to have both the enemy and the player to have A* pathfinding scripts or is there another way to solve it? the only code that matters for now is: Enemy.transform.Translate(new Vector3(1.0f,0,0));

Viewing all articles
Browse latest Browse all 1488

Trending Articles



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