new Box2dTargetJoint(object, fixedObject, worldPos)box2d.js:1449Create a target joint
objectBox2dObjectfixedObjectBox2dObjectworldPosVector2
Box2D Target Joint, also known as a mouse joint
Extends Box2dJoint
new Box2dTargetJoint(object, fixedObject, worldPos)box2d.js:1449Create a target joint
object Box2dObjectfixedObject Box2dObjectworldPos Vector2getFrequency() → numberbox2d.js:1489Gets the joint frequency in Hertz
getMaxForce() → numberbox2d.js:1481Gets the maximum force in Newtons
getTarget() → Vector2box2d.js:1473Get the target point in world coordinates
setFrequency(hz)box2d.js:1485Sets the joint frequency in Hertz, above 0, Box2D stops for good on 0
hz number