Body:getX

Body:getX Get the x position of the body in world coordinates. Function Synopsis x = Body:getX( ) Arguments None. Returns number x The x position in world coordinates. See Also Body

Body:getY

Body:getY Get the y position of the body in world coordinates. Function Synopsis y = Body:getY( ) Arguments None. Returns number y The y position in world coordinates. 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:isAwake

Body:isAwake Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the sleep status of the body. Function Synopsis status = Body:isAwake( ) Arguments None. Returns boolean status True if the body is awake or false if not. See Also Body

Body:isBullet

Body:isBullet Get the bullet status of a body. There are two methods to check for body collisions: at their location when the world is updated (default) using continuous collision detection (CCD) The default method is efficient, but a body moving very quickly may sometimes jump over another body without producing a collision. A body that is set as a bullet will use CCD. This is less efficient, but is guaranteed not to jump when moving quickly. Note that static bodies (with zero mass) al

Body:isDestroyed

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

Body:isDynamic

Body:isDynamic Removed in LÖVE 0.8.0 It has been replaced by Body:getType. Get the dynamic status of the body. A static body has no mass and a constant position. It will not react to collisions. Often used for walls. A dynamic body has mass and can move. It will react to collisions when the world is updated. Function Synopsis status = Body:isDynamic( ) Arguments None. Returns boolean status The dynamic status of the body. See Also Body

Body:isFixedRotation

Body:isFixedRotation Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns whether the body rotation is locked. Function Synopsis fixed = Body:isFixedRotation( ) Arguments None. Returns boolean fixed True if the body's rotation is locked or false if not. See Also Body

Body:isFrozen

Body:isFrozen Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the frozen status of the body. A body becomes frozen when it goes outside the world boundary. A frozen body is no longer changed by World:update. Function Synopsis status = Body:isFrozen( ) Arguments None. Returns boolean status The frozen status of the body. See Also Body

Body:isSleeping

Body:isSleeping Removed in LÖVE 0.8.0 This method is not supported in that and later versions. Get the sleeping status of a body. A sleeping body is much more efficient to simulate than when awake. If sleeping is allowed, a body that has come to rest will sleep. Function Synopsis status = Body:isSleeping( ) Arguments None. Returns boolean status The sleeping status of the body. See Also Body