PrismaticJoint:getAxis

PrismaticJoint:getAxis Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the world-space axis vector of the Prismatic Joint. Function Synopsis x, y = PrismaticJoint:getAxis( ) Arguments None. Returns number x The x-axis coordinate of the world-space axis vector. number y The y-axis coordinate of the world-space axis vector. See Also PrismaticJoint love.physics.newPrismaticJoint

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

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

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

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

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

Shape:setDensity

Shape:setDensity Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets the density of a Shape. Do this before calling Body:setMassFromShapes. Function Synopsis Shape:setDensity( density ) Arguments number density The new density of the Shape. Returns Nothing. See Also Shape

CompressedData:getFormat

CompressedData:getFormat Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the compression format of the CompressedData. Function Synopsis format = CompressedData:getFormat( ) Arguments None. Returns CompressedDataFormat format The format of the CompressedData. See Also CompressedData

RevoluteJoint:enableLimits

RevoluteJoint:enableLimits Available since LÖVE 0.8.0 This method is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to RevoluteJoint:setLimitsEnabled. Enables or disables the joint limits. Function Synopsis RevoluteJoint:enableLimit( enable ) Arguments boolean enable True to enable, false to disable. Returns Nothing. See Also RevoluteJoint RevoluteJoint:isLimitsEnabled RevoluteJoint:setLimits