public class DistanceJoint extends Joint
addr, jointEdgeA, jointEdgeB
Constructor and Description |
---|
DistanceJoint(World world,
long addr) |
Modifier and Type | Method and Description |
---|---|
float |
getDampingRatio()
Set/get damping ratio.
|
float |
getFrequency()
Set/get frequency in Hz.
|
float |
getLength()
Set/get the natural length.
|
void |
setDampingRatio(float ratio)
Set/get damping ratio.
|
void |
setFrequency(float hz)
Set/get frequency in Hz.
|
void |
setLength(float length)
Set/get the natural length.
|
getAnchorA, getAnchorB, getBodyA, getBodyB, getReactionForce, getReactionTorque, getType, getUserData, isActive, setUserData
public DistanceJoint(World world, long addr)
public void setLength(float length)
public float getLength()
public void setFrequency(float hz)
public float getFrequency()
public void setDampingRatio(float ratio)
public float getDampingRatio()