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

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

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

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

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

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

PulleyJoint:setRatio

PulleyJoint:setRatio Set the pulley ratio. Function Synopsis PulleyJoint:setRatio( ratio ) Arguments number ratio The new pulley ratio of the joint. Returns Nothing. See Also PulleyJoint

Joystick:getName

Joystick:getName Available since LÖVE 0.9.0 It has been moved from love.joystick.getName. Gets the name of the joystick. Function Synopsis name = Joystick:getName( ) Arguments None. Returns string name The name of the joystick. See Also Joystick

Video:setFilter

Video:setFilter Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the scaling filters used when drawing the Video. Function Synopsis Video:setFilter( min, mag, anisotropy ) Arguments FilterMode min The filter mode used when scaling the Video down. FilterMode mag The filter mode used when scaling the Video up. number anisotropy (1) Maximum amount of anisotropic filtering used. Returns Nothing. See Also Video Video:getFilter FilterMode

Shape:setRestitution

Shape:setRestitution Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets the restitution of the shape. Restitution indicates the "bounciness" of the shape. High restitution can be used to model stuff like a rubber ball, while low restitution can be used for "dull" objects, like a bag of sand. Function Synopsis Shape:setRestitution( restitution ) Arguments number restitution The restitution of the shape. Returns Nothing. Notes A shape with a restitution