Weld joint

From Box2D Wiki

A commonly desired effect is to attach two bodies together rigidly. The most physically robust way of doing this is to delete one of the bodies, and add the shapes and mass to the remaining one.

However, this is not always convenient, for example if you want to measure the stress on the join between the bodies, or if it would cause to much housekeeping to organize. In this case, the recommended solution is to use a revolute joint, with the upper and lower limits set to the same value.

TOOLBOX
LANGUAGES