Hello there,
I am working on a enemy that I want facing the player AT ALL TIMES. The thing is, The enemy is a scene on its own that I instance only when a certain event occurs ( Pressing a button for example ). I want to send the player's coords every single frame to the enemy to consume, but I can't seem to make it happen. What I have tried:
1 - Calling a method from the players script each frame, However, You can't call methods on packedScenes
2 - Using signals, Having the same issue to reference to the packedScene enemy.
Is there anyway to do it?