Spawn the projectile actor just in front of the player - Below I have a screenshot of the blueprint that’s responsible for spawning the projectile actor inside of the player by using the player pawn’s location. Again, I’d like to spawn the projectile just in front of the player.
I’ve tried using vector math in the past but to really no avail, and I’m decently sure that I need to use something along the linbes of a forward vector node.
You should add a “Scene node” Component to your actor! Then, put that scene node wherever you want to shoot from, and make sure its rotation matches the direction you want. It’s just a reference point.
Then drag in that scene node into your event graph and use that to get your spawn transform location and rotation!
Thank you for the reply! I try to add a “Scene” to DefaultPawn0 (my actor), but I can’t get it to save. What’s up with that? (Sorry extremely noobie question)