Body:isActive

Body:isActive Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns whether the body is actively used in the simulation. Function Synopsis status = Body:isActive( ) Arguments None. Returns boolean status True if the body is active or false if not. See Also Body

Body:putToSleep

Body:putToSleep Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Put the body to sleep. A sleeping body is much more efficient to simulate than when awake. The body will wake up if another body collides with it, if a joint or contact attached to it is destroyed, or if Body:wakeUp is called. Function Synopsis Body:putToSleep( ) Arguments None. Returns Nothing. See Also Body

love.math.gammaToLinear

love.math.gammaToLinear Available since LÖVE 0.9.1 This function is not supported in earlier versions. Converts a color from gamma-space (sRGB) to linear-space (RGB). This is useful when doing gamma-correct rendering and you need to do math in linear RGB in the few cases where LÖVE doesn't handle conversions automatically. Read more about gamma-correct rendering here, here, and here. Gamma-correct rendering is an advanced topic and it's easy to get color-spaces mixed up. If you're not sur

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

Source:isLooping

Source:isLooping Returns whether the Source will loop. Function Synopsis loop = Source:isLooping( ) Arguments None. Returns boolean loop True if the Source will loop, false otherwise. See Also Source

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

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

MouseJoint:setTarget

MouseJoint:setTarget Sets the target point. Function Synopsis MouseJoint:setTarget( x, y ) Arguments number x The x-component of the target. number y The y-component of the target. Returns Nothing. See Also MouseJoint

WheelJoint:getJointSpeed

WheelJoint:getJointSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current joint translation speed. Function Synopsis speed = WheelJoint:getJointSpeed( ) Arguments None. Returns number speed The translation speed of the joint in meters per second. See Also WheelJoint

PrismaticJoint:getLimits

PrismaticJoint:getLimits Gets the joint limits. Function Synopsis lower, upper = PrismaticJoint:getLimits( ) Arguments None. Returns number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. See Also PrismaticJoint