Difference between revisions of "GearJoint:getRatio"

m (1 revision: Importing from potato (again).)
(add detail)
Line 1: Line 1:
 
 
 
== Function ==
 
== Function ==
 +
Get the ratio of a [[GearJoint|gear joint.]]
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
GearJoint:getRatio( )
+
ratio = GearJoint:getRatio( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
Nothing.
+
{{param|number|ratio|The ratio of the joint.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::GearJoint]]
 
* [[parent::GearJoint]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the ratio of a gear joint.}}

Revision as of 18:03, 6 March 2010

Function

Get the ratio of a gear joint.

Synopsis

ratio = GearJoint:getRatio( )

Arguments

None.

Returns

number ratio
The ratio of the joint.

See Also