Download

Override physics simulation of skeletal mesh (How to control Physics Asset's Hinge Joint by code)

Hi,

I trying to code a mechanical arm that needs to react to my world “physically correct”. However, I need to simulate things like, if the arm touch the floor and force it, it should elevate the structure.

Something like this picture:

e8d014412f28d41af689c2f8b457b23e83cdd980.png

I tried using the transform bone from animation blueprint, but it doesn’t override the physics simulation.

ab90db425aaa3f610e408bf26f6872d10f73a439.png

Or in other words, can I control the Hinge Joint from a Physics Asset by code and simulate the physics at the same time?

Any ideas?