howto: grabbing an obect with mouse but using two joints

hi there,

i would like to have the player be able to grab an object with two hands.
meaning instead of having the object attach to the mouse via the b2MouseJoint i would like to attach two grab points close together on the object.
this way it cannot pivot around the mouse and also works better with the character i am using.

what would be the best way to achieve this?

thanks for all suggestions
Use two mouse joints.
[del]thats possible?[/del]


wow! it is possible, thanks!

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