I’m want custom trajectory for my projectiles shoot by my character.
Everything works as intended when shooting one projectile at the time; it curves and collides as it should. But if I have two projectiles in the air at the same time, the variables from the second projectile will update the first projectile as well; teleportation the first projectile to a new location, which I don’t want.
I tried solving it by adding the variables to arrays and calling new values with a counter (add +1 to each arrow). But the counter updates both the first and second projectile anyways, so I get a identical result as before.
I need some kind of “fire and forget” function so the projectile can act with its own mind without disruption from shooting a second or third projectile.
I feel like I’m missing something very vital, but I don’t know what. I’m a beginner.
BP_Character
BP_Arrow