Spawn point for projectiles

When you spawn an actor you can specify a Transform (its initial location, rotation…). If your gun has a socket at the end of the barrel, use that o find the world location of that socket. Use this position to create the spawn transform (rotation can be same as the Player itself). Later when you spawn the projectile actor, use this transform