Documentation
Introduction
Getting Started
License
Game Distribution
conf.lua
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.load
love.keypressed
love.update
love.draw
love.keyreleased
love.mousepressed
love.mousereleased
Edit
Type
Circle
Circle extends Shape and adds a radius and a local position.
Create a new circle shape with
love.physics.newCircleShape
.
Functions
getRadius( )
Get the radius of a CircleShape
getBody( )
Get the body the shape is attached to.
getBoundingBox( )
Get the bounding box around the shape.
getCategory( )
getData( )
getDensity( )
getFilterData( )
getFriction( )
getMask( )
getRestituion( )
getType( )
isSensor( )
setCategory( )
setData( )
setDensity( )
setFilterData( )
setFriction( )
setMask( )
setRestitution( )
setSensor( )
testPoint( )
testSegment( x1, y1, x2, y2 )
Checks whether a line segment intersects a shape.
Supertypes
Shape
See Also
love.physics.newCircleShape
Copyright © 2006-2009 LÖVE Development Team.
Visit Homepage
–
Ask a Question