Hi, I’m very new in Unreal and in blueprints, I’m trying to make a little top down shooter from a french guide that i’ve followed
I’ve completed it and now i’m trying to add more functions to it.
I add the multiple weapons in array, BP_Rifle (0) and BP_RocketLauncher (1) are Child of BP_Weapon where I’ve done the fire logic, the switching with 1 and 2 keys work with “actualweapon” used as a variable.
But the shooting only work with the RocketLauncher and not the Rifle, and I can’t figure whyyy !!
When I shoot with the rifle it look like the weapon is shooting from the origin point of the world (0,0,0) and is shooting the projectiles of the BP_RocketLauncher and not it’s own…
RocketLauncher working correctly, sphere in red is explosion radius
Rifle not, still explosion radius and it’s at the center
Logic for referencing BP_Weapon
Equiping weapons logic
Fire logic on the BP_Weapon (parent)