AttachToComponent

Attach this component to another scene component, optionally at a named socket. It is valid to call this on components whether or not they have been Registered.

Target is Scene Component

AttachToComponent
Target
Parent
Socket Name
None
Location Rule
KeepRelative
Rotation Rule
KeepRelative
Scale Rule
KeepRelative
Weld Simulated Bodies
Return Value

Inputs

In
Exec
Target
Scene Component Reference
Parent
Scene Component Reference

Parent to attach to.

Socket Name
Name

Optional socket to attach to on the parent.

Location Rule
EAttachmentRule Enum

How to handle translation when attaching.

Rotation Rule
EAttachmentRule Enum

How to handle rotation when attaching.

Scale Rule
EAttachmentRule Enum

How to handle scale when attaching.

Weld Simulated Bodies
Boolean

Whether to weld together simulated physics bodies.

Outputs

Out
Exec
Return Value
Boolean

True if attachment is successful (or already attached to requested parent/socket), false if attachment is rejected and there is no change in AttachParent.