- Edited
I'm making a simple 2d platformer game and I wanted to give my player a projectile. The problem is that my projectile gets instanced into the game scene and I don't know how to get the direction it fires at to be the same direction my player is facing. I can't connect a signal with the motion vector to the bullet, as it hasn't been instanced yet. What is the method I'm supposed to use? It seems like there is a simple solution that I haven't considered.
Thanks in advance!
the code: https://pastebin.com/XzEaKZMm