How can you constraint two adjacent rigid body as if they were one part?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By rvlander


I am trying to constraint two side-by-side cube shaped rigid bodies together so that they react as one single part until this constraint is removed later during the game.

I have tried with PinJoint without success. The SliderJoint could be a solution but I am having a hard time understanding the parameters.

Maybe joints are not the best approach?


:bust_in_silhouette: Reply From: Bartosz

You can use 6DOFJoint and set each axis linear limits for min and max to 0 thats what I’m using right now

Thanks it seems to do the trick. What parameters do you use to have a hard link (by default it is a bit softy, I try to play with damping, softness and restitution without any tangible results)?

rvlander | 2018-03-29 20:22

thats strange, I’m trying to achieve opposite (make it soft) by adjusting sliders without success.

Bartosz | 2018-03-29 20:29

Changing these values seems to have no effect! Maybe it should be reported as a bug.

rvlander | 2018-03-29 20:36

you’re probably right

Bartosz | 2018-03-29 20:40