Difference between revisions of "Contact:getPosition"

(oldin notice.)
Line 1: Line 1:
 +
{{oldin|[[0.8.0]]|080|type=method}}
 
Get the location of the contact point between two shapes.
 
Get the location of the contact point between two shapes.
 +
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 10: Line 12:
 
{{param|number|cx|The x coordinate of the contact point.}}
 
{{param|number|cx|The x coordinate of the contact point.}}
 
{{param|number|cy|The y coordinate of the contact point.}}
 
{{param|number|cy|The y coordinate of the contact point.}}
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Contact]]
 
* [[parent::Contact]]

Revision as of 13:34, 5 May 2012

Removed in LÖVE 0.8.0
This method 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

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

See Also


Other Languages