The code works:
FVector StartLocation = Barrel->GetSocketLocation(FName(“Projectile”));
But I could only achieve this by copying verbatim:- my intellisense does not work so I looked up the literature for UStaticMeshComponent (Barrel) - but the closest I could find there was “GetSocketByName”
my code compiles as it is in the video but I would like to be able to figure these things out manually
Anyone else with same issue?