0
\$\begingroup\$

I'm trying to add a EAttachmentRule variable in a struct but the enum doesn't appear in the list of available types

enter image description here

I managed to create a variable in a BP by dragging the pin from an AttachActorToComponent node and promoting it to a variable. But I can't do the same thing to create a variable in a struct

\$\endgroup\$
1
\$\begingroup\$

It does look like that is not possible. The easiest way around it would be to create an Enum with the same options (KeepRelative, KeepWorld, SnapToTarget) as the EAttachmentRule Enum and use that instead.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.