How to get the FTransform of a staticmesh socket?

Hello, my friends. Is there any way for me using C++ to get a FTransform from a staticmesh socket?

Thanks in advance.

Hmm, does this suffice?

#include "Components/StaticMeshComponent.h"

// Assuming you have a reference to the UStaticMeshComponent in your code called StaticMeshComponent
FTransform SocketTransform = StaticMeshComponent->GetSocketTransform("SocketName");

You can get the FTransform of a static mesh socket in C++ using the GetSocketTransform() function from the UStaticMeshComponent class.

1 Like

THanks a lot, my friend! Cheers!

No worries! :smiley: