file: PulleyJoint.aus

class: PulleyJoint

[18:7] extends: Joint

Wraps jbox2d's PulleyJoint (com.almasb.fxgl.physics.box2d.dynamics.joints.PulleyJoint). Connects two bodies and two fixed ground anchors with a length1 + ratio * length2 = constant constraint. Pulley joints can be unstable on their own; combining with prismatic joints and using static cover shapes at the anchors helps.

Methods