Difference between revisions of "RevoluteJoint:setMotorEnabled"

(Going to create the new enableMotor page.)
Line 1: Line 1:
{{newin|[[0.8.0]]|type=variant}}
+
{{oldin|[[0.8.0]]|080|type=method}}
=== Synopsis ===
+
Enables/disables the joint motor.
<source lang="lua">
 
RevoluteJoint:enableMotor( enable )
 
</source>
 
=== Arguments ===
 
{{param|boolean|enable|True to enable, false to disable.}}
 
=== Returns ===
 
Nothing.
 
 
 
  
 
== Function ==
 
== Function ==
Enables/disables the joint motor.
 
{{oldin|[[0.8.0]]|type=variant}}
 
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 21: Line 11:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::RevoluteJoint]]
 
* [[parent::RevoluteJoint]]

Revision as of 13:14, 4 May 2012

Removed in LÖVE 0.8.0
This method is not supported in that and later versions.

Enables/disables the joint motor.

Function

Synopsis

RevoluteJoint:setMotorEnabled( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages