Body:getInertia

Body:getInertia Gets the rotational inertia of the body. The rotational inertia is how hard is it to make the body spin. It is set with the 4th argument to Body:setMass, or automatically with Body:setMassFromShapes. Function Synopsis inertia = Body:getInertia( ) Arguments None. Returns number inertia The rotational inertial of the body. See Also Body

RevoluteJoint:isMotorEnabled

RevoluteJoint:isMotorEnabled Checks whether the motor is enabled. Function Synopsis enabled = RevoluteJoint:isMotorEnabled( ) Arguments None. Returns boolean enabled True if enabled, false if disabled. See Also RevoluteJoint

Source:seek

Source:seek Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the currently playing position of the Source. Function Synopsis Source:seek( offset, unit ) Arguments number offset The position to seek to. TimeUnit unit ("seconds") The unit of the position value. Returns Nothing. See Also Source:tell Source

Shape:getCategoryBits

Shape:getCategoryBits Removed in LÖVE 0.8.0 Use Fixture:getCategory instead. Gets the categories as a 16-bit integer. A set bit indicates membership of that category. Function Synopsis An = Shape:getCategoryBits( ) Arguments None. Returns number An Integer value representing the categories. See Also Shape

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

RevoluteJoint:setLowerLimit

RevoluteJoint:setLowerLimit Sets the lower limit. Function Synopsis RevoluteJoint:setLowerLimit( lower ) Arguments number lower The lower limit, in radians. Returns Nothing. See Also RevoluteJoint

Quad:getViewport

Quad:getViewport Gets the current viewport of this Quad. Function Synopsis x, y, w, h = Quad:getViewport( ) Arguments None. Returns number x The top-left corner along the x-axis. number y The top-right corner along the y-axis. number w The width of the viewport. number h The height of the viewport. See Also Quad

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

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