Difference between revisions of "GearJoint:setRatio"

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

Revision as of 18:04, 6 March 2010

Function

Set the ratio of a gear joint.

Synopsis

GearJoint:setRatio( ratio )

Arguments

number ratio
The new ratio of the joint.

Returns

Nothing.

See Also