Introduction - If you have any usage issues, please Google them yourself
Android (mouse joints- Drag Body)// mouse joint public MouseJoint createMouseJoint () {MouseJointDef mjd = new MouseJointDef () // set the mouse joints first Body instance (default grounding Body) mjd.body1 = world. getGroundBody () // set the mouse joint second Body instance (being dragged Body) mjd.body2 = body1 // Set the target point X coordinate mjd.target.x = body1.getPosition () x. // Set the Y coordinate of the target point mjd.target.y = body1.getPosition () y .// body1.allowSleeping (false) //set body1 Never Sleep// set the mouse joint target location mjd.maxForce = 100 //Rally// Create the World Mouse joint MouseJoint mj = (MouseJoint) world.createJoint (mjd) return mj }