How to simulate mechanical physics for movement?

Is there a way to make a character mesh simulate the following behaviour: UE4 PhysX Mechanical Simulation of a Mech Base in Unreal Engine 4: Dynamics Physics Robotics - YouTube ? The idea is to let the user control the legs of a mech, currently done by using skeletal transformations, to balance a character. This method seems fine to move all individual bones in the legs, but seems to cause some issues when we want to simulate physics (mostly because of the capsule component). That issue aside, I would like to know how to simulate mechanical physics on a character.