love.joystick.close

love.joystick.close Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Closes a joystick, i.e. stop using it for generating events and in query functions. Function Synopsis love.joystick.close( joystick ) Arguments number joystick The joystick to be closed Returns Nothing. See Also love.joystick

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

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

MouseJoint:getMaxForce

MouseJoint:getMaxForce Gets the highest allowed force. Function Synopsis f = MouseJoint:getMaxForce( ) Arguments None. Returns number f The max allowed force. See Also MouseJoint

love.audio.getOrientation

love.audio.getOrientation Returns the orientation of the listener. Function Synopsis fx, fy, fz, ux, uy, uz = love.audio.getOrientation( ) Arguments None. Returns number fx, fy, fz Forward vector of the listener orientation. number ux, uy, uz Up vector of the listener orientation. See Also love.audio

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

Shader Variables

Shader Variables Available since LÖVE 0.9.0 These built-in shader variables are not supported in earlier versions. There are several built-in variables LÖVE provides in vertex and pixel shaders. All built-in variables are read-only unless otherwise specified. Global built-in variables mat4 TransformMatrix The transformation matrix affected by love.graphics.translate and friends. mat4 ProjectionMatrix The orthographic projection matrix. mat4 TransformProjectionMatrix The combined tra

RevoluteJoint:setMotorSpeed

RevoluteJoint:setMotorSpeed Sets the motor speed. Function Synopsis RevoluteJoint:setMotorSpeed( s ) Arguments number s The motor speed, radians per second. Returns Nothing. See Also RevoluteJoint

PrismaticJoint:getLimits

PrismaticJoint:getLimits Gets the joint limits. Function Synopsis lower, upper = PrismaticJoint:getLimits( ) Arguments None. Returns number lower The lower limit, usually in meters. number upper The upper limit, usually in meters. See Also PrismaticJoint

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