Fixture:getFilterData

Fixture:getFilterData Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the filter data of the fixture. Categories and masks are encoded as the bits of a 16-bit integer. Function Synopsis categories, mask, group = Fixture:getFilterData( ) Arguments None. Returns number categories The categories as an integer from 0 to 65535. number mask The mask as an integer from 0 to 65535. number group The group as an integer from -32768 to 32767. See Also Fixtu

Joint:getCollideConnected

Joint:getCollideConnected Gets whether the connected Bodies collide. Function Synopsis c = Joint:getCollideConnected( ) Arguments None. Returns boolean c True if they collide, false otherwise. See Also Joint

Rasterizer:getGlyphData

Rasterizer:getGlyphData Available since LÖVE 0.7.0 This function is not supported in earlier versions. TODO See Also Rasterizer GlyphData

MouseJoint:setFrequency

MouseJoint:setFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new frequency. Function Synopsis MouseJoint:setFrequency( freq ) Arguments number freq The new frequency in hertz. Returns Nothing. See Also MouseJoint MouseJoint:getFrequency

World:rayCast

World:rayCast Available since LÖVE 0.8.0 This method is not supported in earlier versions. Casts a ray and calls a function for each fixtures it intersects. Function Synopsis World:rayCast( x1, y1, x2, y2, callback ) Arguments number x1 The x position of the starting point of the ray. number y1 The y position of the starting point of the ray. number x2 The x position of the end point of the ray. number y2 The y position of the end point of the ray. function callback A function called

Source:getRolloff

Source:getRolloff Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the rolloff factor of the source. Function Synopsis rolloff = Source:getRolloff( ) Arguments None. Returns number rolloff The rolloff factor. See Also Source

Text:clear

Text:clear Available since LÖVE 0.10.0 This function is not supported in earlier versions. Clears the contents of the Text object. Function Synopsis Text:clear( ) Arguments None. Returns Nothing. See Also Text

Body:resetMassData

Body:resetMassData Available since LÖVE 0.8.0 This method is not supported in earlier versions. Resets the mass of the body by recalculating it from the mass properties of the fixtures. Function Synopsis Body:resetMassData( ) Arguments None. Returns Nothing. See Also Body

Body:getMass

Body:getMass Get the mass of the body. Static bodies always have a mass of 0. Function Synopsis mass = Body:getMass( ) Arguments None. Returns number mass The mass of the body (in kilograms). See Also Body

GearJoint:getJoints

GearJoint:getJoints Available since LÖVE 0.9.2 This function is not supported in earlier versions. Get the Joints connected by this GearJoint. Function Synopsis joint1, joint2 = GearJoint:getJoints( ) Arguments None. Returns Joint joint1 The first connected Joint. Joint joint2 The second connected Joint. See Also GearJoint