1 objec pick up and 'carry' another

Having a great time with Box2d! but am still relatively new to a lot of it.

My question, how can I have one body 'carry' antoher.
I would like to have my robot character pick up and then throw another body
(demo: http://themathgames.com/dev/platform/platform.html -- I'd like to have the robot carry the boxes)

..

I tried a distance joint but that does not keep the two objects 'locked' together perfectly. I want to basically combine the bodies temporarily--is that I want have to do, and if so any advice on the most efficient way to do this?
b2WeldJoint is what you want. In earlier versions, this can be done with a b2RevoluteJoint with two identical limits.
thanks Boris! btw, keep up the great work !

Original thread: https://box2d.org/forum/viewtopic.php?t=4866