How to weld simulate bodies for skeletal mesh?

I want to make some skeletal meshes attached each other and looks like a whole thing when simulate physics.

My way to do:

Use an actor as the parent, the parent actor has a skeletal mesh component itself.

Then create few child actor components inside the parent actor.

Attach the child actor’s skeletal mesh to parent actor’s skeletal mesh. (Use AttachToComponent() function, snap to socket)

At last, set parent actor’s skeletal mesh simulate physics.

Problem:

Just parent actor’s skeletal mesh simulate the physics. Child actors attached but physics body don’t work.

I have tried to set all skeletal meshes simulate physics, but this will detach them from parent skeletal mesh.

When I use static mesh, the same logic works well.

Want know how to weld physics bodies together, or my way is wrong?

1 Like