Difference between revisions of "Contact:getPosition"
m (1 revision: Imported docs from potato.) |
m |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{oldin|[[0.8.0]]|080|type=function}} | |
+ | Get the location of the contact point between two shapes. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | Contact:getPosition( ) | + | cx, cy = Contact:getPosition( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | + | {{param|number|cx|The x coordinate of the contact point.}} | |
+ | {{param|number|cy|The y coordinate of the contact point.}} | ||
+ | |||
== See Also == | == See Also == | ||
* [[parent::Contact]] | * [[parent::Contact]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Get the location of the contact point between two shapes.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|Contact:getPosition}} |
Latest revision as of 21:11, 29 May 2013
Removed in LÖVE 0.8.0 |
This function is not supported in that and later versions. |
Get the location of the contact point between two shapes.
Function
Synopsis
cx, cy = Contact:getPosition( )
Arguments
None.
Returns
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