Type
DistanceJoint
Functions
getType( ) Gets an integer representing the type.
getAnchors( ) Gets the anchor points of the joint
getReactionForce( ) Gets the reaction force on Body 2 at the joint anchor.
getReactionTorque( ) Gets the reaction torque on Body 2.
getCollideConnected( ) Gets whether the connected Bodies collide.
setCollideConnected( collide ) Sets whether the connected Bodies should collide with eachother.
getLength( ) Gets the equilibrium distance between the two Bodies.
getFrequency( ) Gets the response speed.
getDamping( ) Gets the damping ratio.
setLength( length ) Sets the equilibrium distance between the two Bodies.
setFrequency( hz ) Sets the response speed.
setDamping( d ) Sets the damping ratio.
destroy( ) Explicitly destroys the DistanceJoint.
Copyright © 2006-2008 LÖVE Development Team.