Hi I want to be able to spawn and attach different weapons to a character socket via C++ as well raycast from another socket.
I am creating a third person shooter so I cant have the ray sent from the camera because it will hit objects behind him.
I found this link but I dont know how to utilise the code.
UFUNCTION(BlueprintCallable, Category="Utilities|Transformation", Meta=(Keywords="Bone")) virtual FVector GetSocketLocation ( FName InSocketName )
after I type this in the header file it gives an error saying its missing a ‘;’, when I add it at the end of ‘FName InSocketName’ it then says it doesnt like how I defined the function. How do I fix this?