Hello, I’m currently working on creating X-Wing Fighter mechanics (like in Rogue Squadron) in UE4. I have four sockets for each gun, but when firing, all four are obviously spawning the projectile. How can I spawn the projectile at the first socket, then the second, then third, fourth and then the first again?
Also right now it only shoots once when I press the left mouse button, how can I create continous input? Do I have to use the axis mapping for that?
I add example:
On image 2, 3 you can find function that launch rocket from current socket and choose next socket (current socket index saves like blueprint variable).
In event graph I just setup this function in timer. On Pressed - start timer, on Released – stop timer.
There’s also the flip flop bubble. In the event graph I added the flip flop bubble, made a copy of my laser event, changed the mesh it fired from plugged it into B with the original in A, and boo bam, alternating lasers firing from the meshes I assigned. I feel smrt.