Is it possible to AttachTo a bone without any socket?

The function



AttachTo()

Asks for a socket name when attaching an object to a bone. I want to know if it is possible to attach an actor to a bone without it having any sockets?

----Edit----

In UE4, basically each bone works like a socket.

If you give the name of a bone, it should attach to it, just as it would a socket. :slight_smile:

Yep, bones and sockets are interchangeable as far as attachments are concerned :slight_smile:

You can use the TEXT macro or a variable of type ‘FName’ to specify which one! E.g:

FName MySocketName;

AttachTo(MySocketName)

  • or -

AttachTo(TEXT(“TheActualSocketName”))

I’m fairly sure there are extra parameters you need to feed into that though.