Mouse Joint Def
constructor(bodyA: Body, bodyB: Body, target: Vec2, maxForce: Float = 1.0f, hertz: Float = 4.0f, dampingRatio: Float = 1.0f, collideConnected: Boolean = false)
Parameters
body A
The first attached body (usually a static/ground body)
body B
The second attached body (the one being dragged)
target
The initial world target point (where the mouse is)