Hi peeps,
So I’ve set up a scene after following Brackey’s “How to make a 2D platformer,” but after the last video I noticed that the enemy (AlienSpaceShip) doesn’t chase the the player. I suspect that the enemy, which is now a prefab, doesn’t chase the player that’s in the game, but rather the player prefab which has a static position.
Here is what I mean:
See how AsterPathfinding makes the enemy follow a line to the static position of the player prefab(which is hidden), instead of the player next to it?
The problem might be that the prefab is selected in the dropdown menu of the enemy instead of the actual player. Or maybe even the Astarpathfinding system that is messing with it.
Any ideas?
Kind Regards,
Jasper