EdgeShape:getPoints

EdgeShape:getPoints Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the local coordinates of the edge points. Function Synopsis x1, y1, x2, y2 = EdgeShape:getPoints( ) Arguments None. Returns number x1 The x-component of the first vertex. number y1 The y-component of the first vertex. number x2 The x-component of the second vertex. number y2 The y-component of the second vertex. See Also EdgeShape

EdgeShape:getNextVertex

EdgeShape:getNextVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the vertex that establishes a connection to the next shape. Setting next and previous EdgeShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis x, y = EdgeShape:getNextVertex( ) Arguments None. Returns number x (nil) The x-component of the vertex, or nil if EdgeShape:setNextVertex hasn't been

DistanceJoint:setLength

DistanceJoint:setLength Sets the equilibrium distance between the two Bodies. Function Synopsis DistanceJoint:setLength( l ) Arguments number l The length between the two Bodies. Returns Nothing. See Also DistanceJoint

DistanceJoint:setFrequency

DistanceJoint:setFrequency Sets the response speed. Function Synopsis DistanceJoint:setFrequency( Hz ) Arguments number Hz The response speed. Returns Nothing. See Also DistanceJoint

DistanceJoint:setDampingRatio

DistanceJoint:setDampingRatio Available since LÖVE 0.8.0 It has been renamed from DistanceJoint:setDamping. Sets the damping ratio. Function Synopsis DistanceJoint:setDampingRatio( ratio ) Arguments number ratio The damping ratio. Returns Nothing. See Also DistanceJoint

DistanceJoint:setDamping

DistanceJoint:setDamping Removed in LÖVE 0.8.0 It has been replaced with DistanceJoint:setDampingRatio. Sets the damping ratio. Function Synopsis DistanceJoint:setDamping( ratio ) Arguments number ratio The damping ratio. Returns Nothing. See Also DistanceJoint

DistanceJoint:getLength

DistanceJoint:getLength Gets the equilibrium distance between the two Bodies. Function Synopsis l = DistanceJoint:getLength( ) Arguments None. Returns number l The length between the two Bodies. See Also DistanceJoint

DistanceJoint:getFrequency

DistanceJoint:getFrequency Gets the response speed. Function Synopsis Hz = DistanceJoint:getFrequency( ) Arguments None. Returns number Hz The response speed. See Also DistanceJoint

DistanceJoint:getDampingRatio

DistanceJoint:getDampingRatio Available since LÖVE 0.8.0 It has been renamed from DistanceJoint:getDamping. Gets the damping ratio. Function Synopsis ratio = DistanceJoint:getDampingRatio( ) Arguments None. Returns number ratio The damping ratio. See Also DistanceJoint

DistanceJoint:getDamping

DistanceJoint:getDamping Removed in LÖVE 0.8.0 It has been replaced with DistanceJoint:getDampingRatio. Gets the damping ratio. Function Synopsis ratio = DistanceJoint:getDamping( ) Arguments None. Returns number ratio The damping ratio. See Also DistanceJoint