Difference between revisions of "GearJoint:getRatio"

 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
Get the ratio of a [[GearJoint|gear joint.]]
 
 
 
== Function ==
 
== Function ==
 
=== 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.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|GearJoint:getRatio}}

Latest revision as of 11:04, 25 March 2011

Get the ratio of a gear joint.

Function

Synopsis

ratio = GearJoint:getRatio( )

Arguments

None.

Returns

number ratio
The ratio of the joint.

See Also


Other Languages