How do I make the enemy appear when the player passes by him in Godot 4?
how he disappeared in first place?
It didn’t disappear. I want the enemy to appear when the player passes a certain point, or to appear behind me when I pass by. Do you understand me ?
usually just need to get the player position + direction and set the offset accordingly to where the enemy will spawn
but to trigger the enemy’s “ambush”, you will need to put an Area3D with collision that send signal to spawn the enemy, when the player entered it