Hello,
I’m trying to attach a gun to a socket placed on the skeletal mesh.
Here in preview mode, its in the right location:
In game, it is spawning at the root of the player and not moving:
FName fngrippoint = TEXT("GripPoint");
GunComp->AttachToComponent(GetMesh(), FAttachmentTransformRules::SnapToTargetNotIncludingScale, fngrippoint);
Here is the code to attach it, if anyone could help that would be great!
Thanks!