Contact:getFriction

Contact:getFriction Get the friction between two shapes that are in contact. Function Synopsis friction = Contact:getFriction( ) Arguments None. Returns number friction The friction of the contact. See Also Contact

PrismaticJoint:setMaxMotorForce

PrismaticJoint:setMaxMotorForce Set the maximum motor force. Function Synopsis PrismaticJoint:setMaxMotorForce( f ) Arguments number f The maximum motor force, usually in N. Returns Nothing. See Also PrismaticJoint

World:destroy

World:destroy Available since LÖVE 0.8.0 This method is not supported in earlier versions. Destroys the world, taking all bodies, joints, fixtures and their shapes with it. An error will occur if you attempt to use any of the destroyed objects after calling this function. Function Synopsis World:destroy( ) Arguments None. Returns Nothing. See Also World

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

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

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

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

Rasterizer:getHeight

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

SoundData:setSample

SoundData:setSample Sets the sample at the specified position. Function Synopsis SoundData:setSample( i, sample ) Arguments number i The position of the sample (0 means first sample). number sample A normalized sample (range -1.0 to 1.0). Returns Nothing. See Also SoundData

Rasterizer:getGlyphCount

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