Attach Physical Actor to another Actor?

Hello !

I’m very confused on how to attach a physical actor to another actor. Let’s say I have the basic character mesh, and I want to add a pouch on his belt and simulate physics on it so it bounces when the player run, but stay fixed at some points. How would I do that ?

I tried to add a socket, and attach my child actor to it in the viewport of my root object, but when I start the game, it drops on the floor. I’ve read that this is “normal”, but haven’t seen or missed the solution to that.

My final wish is to make a vehicle out of a character (because AI with Wheeled Vehicle is cumbersome and overkill for what I need (I’m doing an RTS game)), giving the vehicle free rotation.

Thanks !

Use PhysicsConstraintComponent if you want to attach two objects that are simulating physics.

Use the linear thingy options in the PhysicsConstraintComponent to simulate the bounce.

Thanks ! that worked.

Another alternative for having objects on a character simulate physics is to rig them to your character with bones and then simulate physics on the bone itself. This gives you less chance of something going wonky and causing physics weirdness at run time. It’s called Physical Animation and this is a great video showing how it’s done: Lets Create Physical Animations - Blueprints #15 [Unreal Engine 4 Tutorial] - YouTube