FrictionJoint:setMaxTorque

FrictionJoint:setMaxTorque Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the maximum friction torque in Newton-meters. Function Synopsis FrictionJoint:setMaxTorque( torque ) Arguments number torque Maximum torque in Newton-meters. Returns Nothing. See Also FrictionJoint FrictionJoint:getMaxTorque

RevoluteJoint:setMaxMotorTorque

RevoluteJoint:setMaxMotorTorque Set the maximum motor force. Function Synopsis RevoluteJoint:setMaxMotorTorque( f ) Arguments number f The maximum motor force, in Nm. Returns Nothing. See Also RevoluteJoint

PrismaticJoint:getJointSpeed

PrismaticJoint:getJointSpeed Get the current joint angle speed. Function Synopsis s = PrismaticJoint:getJointSpeed( ) Arguments None. Returns number s Joint angle speed in meters/second. See Also PrismaticJoint

(File):getFilename

(File):getFilename Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the filename that the File object was created with. If the file object originated from the love.filedropped callback, the filename will be the full platform-dependent file path. Function Synopsis filename = File:getFilename( ) Arguments None. Returns string filename The filename of the File. See Also File

Decoder:getSampleRate

Decoder:getSampleRate Returns the sample rate of the Decoder. Function Synopsis rate = Decoder:getSampleRate( ) Arguments None. Returns number rate Number of samples per second. See Also Decoder

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

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