Trying to get my grapple hook to attach the hook head to whatever object it hits.

Hey so I’m making a grappling hook and was hoping to get a bit of help with this. the grapple works great, but we’re trying to make it so you can grapple onto moving objects. the way it was set up before, if you latched onto a moving object then it would just end up with you grappling in midair.

The idea we had was to turn it so when the grapple trace hits an object, it will spawn a “Hook” Object, and it will use its locations for all its calculations and when it spawns, it’ll attach the hook to any actor its touching.
I’m not quite sure how to go about doing this currently, as the Attach actor to Actor doesn’t appear to work.

Thanks for any help you can give me with this.