Contact:isEnabled

Contact:isEnabled Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns whether the contact is enabled. The collision will be ignored if a contact gets disabled in the post solve callback. Function Synopsis enabled = Contact:isEnabled( ) Arguments None. Returns boolean enabled True if enabled, false otherwise. See Also Contact Contact:setEnabled

Contact:isTouching

Contact:isTouching Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns whether the two colliding fixtures are touching each other. Function Synopsis touching = Contact:isTouching( ) Arguments None. Returns boolean touching True if they touch or false if not. See Also Contact

Contact:resetFriction

Contact:resetFriction Available since LÖVE 0.8.0 This function is not supported in earlier versions. Resets the contact friction to the mixture value of both fixtures. Function Synopsis Contact:resetFriction( ) Arguments None. Returns Nothing. See Also Contact

Contact:resetRestitution

Contact:resetRestitution Available since LÖVE 0.8.0 This function is not supported in earlier versions. Resets the contact restitution to the mixture value of both fixtures. Function Synopsis Contact:resetRestitution( ) Arguments None. Returns Nothing. See Also Contact

Contact:setEnabled

Contact:setEnabled Available since LÖVE 0.8.0 This function is not supported in earlier versions. Enables or disables the contact. Function Synopsis Contact:setEnabled( enabled ) Arguments boolean enabled True to enable or false to disable. Returns Nothing. See Also Contact Contact:isEnabled

Contact:setFriction

Contact:setFriction Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the contact friction. Function Synopsis Contact:setFriction( friction ) Arguments number friction The contact friction. Returns Nothing. See Also Contact

Contact:setRestitution

Contact:setRestitution Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the contact restitution. Function Synopsis Contact:setRestitution( restitution ) Arguments number restitution The contact restitution. Returns Nothing. See Also Contact

Cursor:getType

Cursor:getType Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the type of the Cursor. Function Synopsis ctype = Cursor:getType( ) Arguments None. Returns CursorType ctype The type of the Cursor. See Also Cursor

Data:getPointer

Data:getPointer Gets a pointer to the Data. Can be used with libraries such as LuaJIT's FFI. Use at your own risk. Directly reading from and writing to the raw memory owned by the Data will bypass any safety checks and thread-safety the Data might normally have. Function Synopsis pointer = Data:getPointer( ) Arguments None. Returns light userdata pointer A raw pointer to the Data. See Also Data Data:getSize Data:getString

Data:getSize

Data:getSize Gets the Data's size in bytes. Function Synopsis size = Data:getSize( ) Arguments None. Returns number size The size of the Data in bytes. See Also Data