file: JointDef.aus

class: JointDef

[20:7] extends: FxObj

Wraps jbox2d's JointDef abstract base (com.almasb.fxgl.physics.box2d.dynamics.joints.JointDef). The base carries the two connected bodies, the collide-connected flag, and the optional user data; the concrete subclasses (DistanceJointDef, RevoluteJointDef, ...) add the per-joint geometry / limits / motor parameters. Cannot be instantiated directly — use one of the concrete *JointDef wrappers or adopt an existing AJO.

Methods