Difference between revisions of "Contact:getPosition"

(add detail)
m (included link to other languages)
Line 1: Line 1:
 
+
Get the location of the contact point between two shapes.
 
== Function ==
 
== Function ==
Get the location of the contact point between two shapes.
 
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 15: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get the location of the contact point between two shapes.}}
 
{{#set:Description=Get the location of the contact point between two shapes.}}
 +
== Other Languages ==
 +
{{i18n|Contact:getPosition}}

Revision as of 20:00, 22 January 2011

Get the location of the contact point between two shapes.

Function

Synopsis

cx, cy = Contact:getPosition( )

Arguments

None.

Returns

number cx
The x coordinate of the contact point.
number cy
The y coordinate of the contact point.

See Also

Other Languages