[17:7] extends: Joint
Wraps jbox2d's WeldJoint (com.almasb.fxgl.physics.box2d.dynamics.joints.WeldJoint). Glues two bodies together. Because the island constraint solver is approximate, a weld joint can still distort somewhat under load; use the frequency/damping for soft welds.
WeldJoint ()
Empty default constructor; populated by adopt.
adopt (object Ajo)
Wraps an existing WeldJoint AussomJavaObject.
getLocalAnchorA ()
Returns the local anchor on body A as a Vec2 wrapper.
getLocalAnchorB ()
Returns the local anchor on body B as a Vec2 wrapper.
getReferenceAngle ()
Returns the reference angle (radians).
getFrequency ()
setFrequency (double Hz)
getDampingRatio ()
setDampingRatio (double Ratio)