Why explicit SetupAttachment?

Why does Sam walk us through setting up attachments explicitly with SetupAttachment?

When I view the derived blueprint for the SprungWheel C++ class, the first component I created with CreateDefaultSubobject is the root component, and the rest are all nested under it. I think that means they’re attached to it.

In fact, it doesn’t look like I needed to call SetRootComponent either. Is it an Unreal version thing maybe?

Privacy & Terms