Methods in org.jbox2d.p5 that return DistanceJoint |
static DistanceJoint |
JointUtils.createDistanceJoint(Body a,
Body b)
Creates and returns a simple distance joint between two bodies, based on
their world body positions (NOT their centers of mass). |
DistanceJoint |
Physics.createDistanceJoint(Body a,
Body b,
float xa,
float ya,
float xb,
float yb)
Create a distance (stick) joint between two bodies
that holds the specified points at a constant distance. |
static DistanceJoint |
JointUtils.createDistanceJoint(World w,
Vec2 pA,
Vec2 pB)
Creates a distance joint between bodies that touch the given points,
anchored at those points. |