ParticleSystem:setSpinVariation

ParticleSystem:setSpinVariation Sets the amount of spin variation (0 meaning no variation and 1 meaning full variation between start and end). Function Synopsis ParticleSystem:setSpinVariation( variation ) Arguments number variation The amount of variation (0 meaning no variation and 1 meaning full variation between start and end). Returns Nothing. See Also ParticleSystem

Body:setGravityScale

Body:setGravityScale Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new gravity scale factor for the body. Function Synopsis Body:setGravityScale( scale ) Arguments number scale The new gravity scale factor. Returns Nothing. See Also Body Body:getGravityScale

Body:isDynamic

Body:isDynamic Removed in LÖVE 0.8.0 It has been replaced by Body:getType. Get the dynamic status of the body. A static body has no mass and a constant position. It will not react to collisions. Often used for walls. A dynamic body has mass and can move. It will react to collisions when the world is updated. Function Synopsis status = Body:isDynamic( ) Arguments None. Returns boolean status The dynamic status of the body. See Also Body

Body:getWorldPoint

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

love.graphics.getLineJoin

love.graphics.getLineJoin Gets the line join style. Function Synopsis join = love.graphics.getLineJoin( ) Arguments Nothing. Returns LineJoin join The LineJoin style. See Also love.graphics love.graphics.setLineJoin

Joint:getType

Joint:getType Gets a string representing the type. Function Synopsis type = Joint:getType( ) Arguments None. Returns JointType type A string with the name of the Joint type. See Also Joint

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

Body:getLinearVelocity

Body:getLinearVelocity Gets the linear velocity of the Body from its center of mass. The linear velocity is the rate of change of position over time. If you need the rate of change of angle over time, use Body:getAngularVelocity. If you need to get the linear velocity of a point different from the center of mass: Body:getLinearVelocityFromLocalPoint allows you to specify the point in local coordinates. Body:getLinearVelocityFromWorldPoint allows you to specify the point in world coordinat

Body:setAwake

Body:setAwake Available since LÖVE 0.8.0 This method is not supported in earlier versions. Wakes the body up or puts it to sleep. Function Synopsis Body:setAwake( awake ) Arguments boolean awake The body sleep status. Returns Nothing. See Also Body Body:isAwake

Shape:setSensor

Shape:setSensor Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets whether this shape should act as a sensor. Set the shape as a sensor if you want to be notified when collision between shapes occur, but don't want a physical response (for instance, maybe you want enemies to appear when the player "touches" a certain point). Function Synopsis Shape:setSensor( sensor ) Arguments boolean sensor True for sensor, false otherwise. Returns Nothing. See Also