This joint connects two bodies to a point around which they can pivot.
body1 | body | The body to attach to the mouse. |
body2 | body | The body to attach to the mouse. |
x | number | The x position of the connecting point. |
y | number | The y position of the connecting point. |
joint | joint | The new revolute joint. |