Attaching actor to the mesh in level blueprint

Hey everybody :slight_smile: I can’t find the answer anywhere so I’m asking you guys for your help. So I have a level where I have moving mesh. (I am using level sequence to move the mesh). And I want to spawn an actor on top of this moving mesh. Problem is that when I spawn the actor he goes thru the mesh. Because he keeps the spawn location. An easy solution would be to attach him to the moving mesh but I don’t know how. In the screenshot you can see that I tried note: Attach to the component but whatever i do nothing works… Any idea how should I set it up? Thanks :slight_smile:

You need to connect something to the Parent – namely the component to which you want to attach the actor. And change the rules to Keep World, otherwise the location will be wrong.

Yes, but how should I set it up in blueprint? I need to attach an actor to the mesh.

Hey this is link to the video i made: Why is this happening? Thanks :slight_smile:

Because you didn’t set Keep World. What happens in your case, the Captain spawns where he’s supposed to, but when you attach him, his World Location becomes his Relative Location based on the parent component location. With Keep World the location is recalculated and he’ll stay where he spawned.

You are a legend! :smiley: Thank you :slight_smile: