Attaching Spring Arm to Root Significance

I compared both commenting and un-commenting the SpringArm->SetupAttachment(RootComponent) line in our Tank.cpp file. For commenting it out, it looks like this:

Here’s with it un-commented (the same?):

Can someone clarify the significance of using SetupAttachment here?

It’s a scene component so it must be attached to something (or be the root component), presumably Unreal attaches it to the root component if it wasn’t setup to be attached to anything.

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

Privacy & Terms