Rasterizer:getHeight

Rasterizer:getHeight Available since LÖVE 0.7.0 This function is not supported in earlier versions. TODO See Also Rasterizer

World:getJointCount

World:getJointCount Returns the number of joints in the world. Function Synopsis n = World:getJointCount( ) Arguments None. Returns number n The number of joints in the world. See Also World

DistanceJoint:setFrequency

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

Body:getJointList

Body:getJointList Available since LÖVE 0.9.2 This method is not supported in earlier versions. Returns a table containing the Joints attached to this Body. Function Synopsis joints = Body:getJointList( ) Arguments None. Returns table joints A sequence with the Joints attached to the Body. See Also Body

Thread:demand

Thread:demand Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0 It has been moved to the Channel API. Receive a message from a thread. Wait for the message to exist before returning. (Can return nil in case of an error in the thread.) Function Synopsis value = Thread:demand( name ) Arguments string name The name of the message. Returns Variant value The contents of the message. See Also Thread

PulleyJoint:setRatio

PulleyJoint:setRatio Set the pulley ratio. Function Synopsis PulleyJoint:setRatio( ratio ) Arguments number ratio The new pulley ratio of the joint. Returns Nothing. See Also PulleyJoint

World:getGravity

World:getGravity Get the gravity of the world. Function Synopsis x, y = World:getGravity( ) Arguments None. Returns number x The x component of gravity. number y The y component of gravity. See Also World

Body:isSleeping

Body:isSleeping Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the sleeping status of a body. A sleeping body is much more efficient to simulate than when awake. If sleeping is allowed, a body that has come to rest will sleep. Function Synopsis status = Body:isSleeping( ) Arguments None. Returns boolean status The sleeping status of the body. See Also Body

love.audio.getDistanceModel

love.audio.getDistanceModel Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the distance attenuation model. Function Synopsis model = love.audio.getDistanceModel( ) Arguments None. Returns DistanceModel model The current distance model. The default is 'inverseclamped'. See Also love.audio

Body:getLocalVector

Body:getLocalVector Transform a vector from world coordinates to local coordinates. Function Synopsis localX, localY = Body:getLocalVector( worldX, worldY ) Arguments number worldX The vector x component in world coordinates. number worldY The vector y component in world coordinates. Returns number localX The vector x component in local coordinates. number localY The vector y component in local coordinates. See Also Body