I am not able to change parent socket

With the setup of components you have, you can do the attachment in blueprint. Here’s a setup like yours, having a spotlight and a static mesh, using AttachComponentToComponent function.

I hope, this is helpful for you.

Edit: forgot to mention, that you can do it in blueprint at runtime as well as in the construction script.

9 Likes