b2PulleyJoint(native)
The pulley joint is connected to two bodies and two fixed ground points.
Methods
-
getGroundAnchorA() : Multivalue
Get the first ground anchor.
-
getGroundAnchorB() : Multivalue
Get the second ground anchor.
-
getLength1() : Float
Get the current length of the segment attached to bodyA.
-
getLength2() : Float
Get the current length of the segment attached to bodyB.
-
getRatio() : Float
Get the pulley ratio.