Difference between revisions of "PulleyJoint:getGroundAnchors"

 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
Get the ground anchor positions in world coordinates.
 
 
 
== Function ==
 
== Function ==
 
=== 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.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|PulleyJoint:getGroundAnchors}}

Latest revision as of 17:28, 25 March 2011

Get the ground anchor positions in world coordinates.

Function

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


Other Languages