About SetupAttachment logic

Hi,

Sometimes we use “SeuptAttachment” in some components and sometimes we don’t use it. (like projectile movement component).

How exactly do we distinguish between using a “SetupAttachment” in a component? What is the logic here?

When I did the project on my own, I realized that I had a question mark about this subject.

Thanks,

This is covered in “Static Mesh Components” at around 2:30.

It is used to setup the attachment hierarchy of scene components for example:

image

You’ll note that the health component is separated; this is because it’s not a scene component and therefor has no transform so it’s unable to attach to another component.

1 Like

thanks.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms