Class PulleyJoint

java.lang.Object
org.jbox2d.dynamics.joints.Joint
org.jbox2d.dynamics.joints.PulleyJoint

public class PulleyJoint extends Joint
The pulley joint is connected to two bodies and two fixed ground points. The pulley supports a ratio such that: length1 + ratio * length2 <= constant Yes, the force transmitted is scaled by the ratio. Warning: the pulley joint can get a bit squirrelly by itself. They often work better when combined with prismatic joints. You should also cover the anchor points with static shapes to prevent one side from going to zero length.

pulley joint

Author:
Daniel Murphy
Repolink:
Github: erincatto/box2d src/dynamics/b2_pulley_joint.cpp