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

Joint:getUserData

Joint:getUserData Available since LÖVE 0.9.2 This method is not supported in earlier versions. Returns the Lua value associated with this Joint. Use this function in one thread and one thread only. Using it in more threads will make Lua cry and most likely crash. Function Synopsis value = Joint:getUserData( ) Arguments None. Returns any value The Lua value associated with the Joint. See Also Joint Joint:setUserData

Joint:isDestroyed

Joint:isDestroyed Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets whether the Joint is destroyed. Destroyed joints cannot be used. Function Synopsis destroyed = Joint:isDestroyed( ) Arguments None. Returns boolean destroyed Whether the Joint is destroyed. See Also Joint Joint:destroy

Joint:setCollideConnected

Joint:setCollideConnected Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Sets whether the connected Bodies should collide with each other. Function Synopsis Joint:setCollideConnected( collide ) Arguments boolean collide True for the Bodies to collide, false otherwise. Returns Nothing. See Also Joint

Joint:setUserData

Joint:setUserData Available since LÖVE 0.9.2 This method is not supported in earlier versions. Associates a Lua value with the Joint. To delete the reference, explicitly pass nil. Use this function in one thread and one thread only. Using it in more threads will make Lua cry and most likely crash. Function Synopsis Joint:setUserData( value ) Arguments any value The Lua value to associate with the Joint. Returns Nothing. See Also Joint Joint:getUserData

Joystick:getAxes

Joystick:getAxes Available since LÖVE 0.9.0 It has been moved from love.joystick.getAxes. Gets the direction of each axis. Function Synopsis axisDir1, axisDir2, ..., axisDirN = Joystick:getAxes( ) Arguments None. Returns number axisDir1 Direction of axis1. number axisDir2 Direction of axis2. number axisDirN Direction of axisN. See Also Joystick Joystick:getAxis Joystick:getAxisCount

Joystick:getAxis

Joystick:getAxis Available since LÖVE 0.9.0 It has been moved from love.joystick.getAxis. Gets the direction of an axis. Function Synopsis direction = Joystick:getAxis( axis ) Arguments number axis The index of the axis to be checked. Returns number direction Current value of the axis. See Also Joystick Joystick:getAxes Joystick:getAxisCount

Joystick:getAxisCount

Joystick:getAxisCount Available since LÖVE 0.9.0 It has been moved from love.joystick.getNumAxes. Gets the number of axes on the joystick. Function Synopsis axes = Joystick:getAxisCount( ) Arguments None. Returns number axes The number of axes available. See Also Joystick Joystick:getAxis Joystick:getAxes

Joystick:getButtonCount

Joystick:getButtonCount Available since LÖVE 0.9.0 It has been moved from love.joystick.getNumButtons. Gets the number of buttons on the joystick. Function Synopsis buttons = Joystick:getButtonCount( ) Arguments None. Returns number buttons The number of buttons available. See Also Joystick Joystick:isDown

Joystick:getGamepadAxis

Joystick:getGamepadAxis Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the direction of a virtual gamepad axis. If the Joystick isn't recognized as a gamepad or isn't connected, this function will always return 0. Function Synopsis direction = Joystick:getGamepadAxis( axis ) Arguments GamepadAxis axis The virtual axis to be checked. Returns number direction Current value of the axis. Examples Move x and y values based on a gamepad thumbstick funct