After getting a Warning about the AttachTo method getting deprecated, I decided to change the code now as I’m already on 4.17.2 and the video is for version 4.12.5.
The new method (AttachToComponent (link here)) doesn’t really accept just one parameter. The 2nd parameter accepts a FAttachmentTransformRules. Right now, with my current understanding of things, I’m going with FAttachmentTransformRules::KeepRelativeTransform.
If someone can explain a bit more that would be helpful.
Thank You.