AI Glitch
Oleg32s
Member Posts: 10
Hello all, the enemy in my game are supposed to chase the player, but when the player is up against the wall behind a corner, they run into the wall and keep going along the y instead of going to the X to the player's coordinates, only when the player moves when this happens, the enemy starts chasing it, but if it stands still, its like it doesnt exist. I've gone through my code and i have no idea how to get around it, or if its even possible to get around it, i need help figuring out what to do
Comments
is the enemy only activated when players velocity is more the 0 or less the 0?