Download

Need Help with AttachActorToComponent Node

Hi All,

I’m trying to create a simple program wherein the player character can walk into an actor, and ‘equip’ that actor. I’ve defined a socket in the skeleton of the player character mesh to which the actor should be attached, however when I use the AttachActorToComponent node, the target actor does not change its position at all. However, it still says that the actor is attached to the player character when I print all attached actors to the screen.

Any help to rectify this issue and make the target actor appropriately snap to the desired socket would be greatly appreciated. Below are the relevant blueprint graphs to the issue.

If it’s attached but not moving with the parent at all, my first guess would be that simulating physics is getting in the way. Can you try disabling physics before attaching the weapon to the character?