Hi folks,
I'm making a 2d metroidvania style game and am using the can see object task to prevent enemies chasing the player character through walls etc. However, I'm struggling to get it to flip when the enemy turns from left to right, and it only detects the player from the left.
I can "solve" it by making the fov 360 degrees, but that's not 100% as the enemy will chase even when they are unable to see the player.
Is there a way to get it flipping so it stays consistent with the direction the enemy is facing? Or will I need to edit it in someway?
I'm making a 2d metroidvania style game and am using the can see object task to prevent enemies chasing the player character through walls etc. However, I'm struggling to get it to flip when the enemy turns from left to right, and it only detects the player from the left.
I can "solve" it by making the fov 360 degrees, but that's not 100% as the enemy will chase even when they are unable to see the player.
Is there a way to get it flipping so it stays consistent with the direction the enemy is facing? Or will I need to edit it in someway?