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: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:setFrequency

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

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

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

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:getPreviousVertex

EdgeShape:getPreviousVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the vertex that establishes a connection to the previous 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:getPreviousVertex( ) Arguments None. Returns number x (nil) The x-component of the vertex, or nil if EdgeShape:setPreviousVe

EdgeShape:setNextVertex

EdgeShape:setNextVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Sets a vertex that establishes a connection to the next shape. This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis EdgeShape:setNextVertex( x, y ) Arguments number x The x-component of the vertex. number y The y-component of the vertex. Returns Nothing. See Also EdgeShape EdgeShape:getNextVertex E

EdgeShape:setPreviousVertex

EdgeShape:setPreviousVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Sets a vertex that establishes a connection to the previous shape. This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis EdgeShape:setPreviousVertex( x, y ) Arguments number x The x-component of the vertex. number y The y-component of the vertex. Returns Nothing. See Also EdgeShape EdgeShape:getPr

enet.event

enet.event Description An event is a table generated by host:service() or peer:recieve() which will always contain a string named type, a enet.peer named peer, and a string or number named data depending on the kind of event. Though be wary that host:service() and peer:recieve() can return nil if no events are in the queue. Structure event.type event.peer event.data "receive" peer string "disconnect" peer number "connect" peer number See Also lua-enet enet.host: