In that case, you will need to create a socket on your gun’s mesh (done from within UE4 editor). Then within the fire event (whichever key you assigned for firing), get the world-location of this socket and eject the projectile from that location.
In that case, you will need to create a socket on your gun’s mesh (done from within UE4 editor). Then within the fire event (whichever key you assigned for firing), get the world-location of this socket and eject the projectile from that location.