CircleShape
Circle extends Shape and adds a radius and a local position.
Create a new circle shape with love.physics.newCircleShape.
Functions
CircleShape:getLocalCenter | Get the center of the circle in local coordinates. |
CircleShape:getPoint | Gets the center point of the circle shape. |
CircleShape:getRadius | Gets the radius of the circle shape. |
CircleShape:getWorldCenter | Get the center of the circle in world coordinates. |
CircleShape:setPoint | Sets the center point of the circle shape. |
CircleShape:setRadius | Sets the radius of the circle. |
Shape:computeAABB, Shape:computeMass, Shape:destroy, Shape:getBody, Shape:getBoundingBox, Shape:getCategory, Shape:getCategoryBits, Shape:getChildCount, Shape:getData, Shape:getDensity, Shape:getFilterData, Shape:getFriction, Shape:getMask, Shape:getMaskBits, Shape:getRadius, Shape:getRestitution, Shape:getType, Shape:isSensor, Shape:rayCast, Shape:setCategory, Shape:setData, Shape:setDensity, Shape:setFilterData, Shape:setFriction, Shape:setMask, Shape:setRestitution, Shape:setSensor, Shape:testPoint, Shape:testSegment
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info