Difference between revisions of "PulleyJoint:getGroundAnchors"

m (1 revision: Importing from potato (again).)
(add detail)
Line 1: Line 1:
 
  
 
== Function ==
 
== Function ==
 +
Get the ground anchor positions in world coordinates.
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
PulleyJoint:getGroundAnchors( )
+
a1x, a1y, a2x, a2y = PulleyJoint:getGroundAnchors( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
Nothing.
+
{{param|number|a1x|The x coordinate of the first anchor.}}
 +
{{param|number|a1y|The y coordinate of the first anchor.}}
 +
{{param|number|a2x|The x coordinate of the second anchor.}}
 +
{{param|number|a2y|The y coordinate of the second anchor.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::PulleyJoint]]
 
* [[parent::PulleyJoint]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the ground anchor positions in world coordinates.}}

Revision as of 18:08, 6 March 2010

Function

Get the ground anchor positions in world coordinates.

Synopsis

a1x, a1y, a2x, a2y = PulleyJoint:getGroundAnchors( )

Arguments

None.

Returns

number a1x
The x coordinate of the first anchor.
number a1y
The y coordinate of the first anchor.
number a2x
The x coordinate of the second anchor.
number a2y
The y coordinate of the second anchor.

See Also