Difference between revisions of "CircleShape"
m |
|||
Line 4: | Line 4: | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::CircleShape]] | + | {{#ask: [[Category:Functions]] [[parent::CircleShape]] |
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Shape]] | ||
+ | | headers=hide | ||
+ | } ?Description | ||
+ | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Object]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
Line 10: | Line 18: | ||
== Supertypes == | == Supertypes == | ||
[[Shape]] | [[Shape]] | ||
+ | [[Object]] | ||
== See Also == | == See Also == | ||
* [[parent::love.physics]] | * [[parent::love.physics]] |
Revision as of 02:03, 13 February 2011
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