Difference between revisions of "Contact:getPosition"
m (1 revision: Importing from potato (again).) |
(add detail) |
||
Line 1: | Line 1: | ||
− | |||
== Function == | == Function == | ||
+ | Get the location of the contact point between two shapes. | ||
=== 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.}} |
Revision as of 17:55, 6 March 2010
Function
Get the location of the contact point between two shapes.
Synopsis
cx, cy = Contact:getPosition( )
Arguments
None.