Difference between revisions of "RevoluteJoint:setMotorEnabled"

 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|type=variant}}
+
{{newin|[[0.9.0]]|090|type=method|text=It has been renamed from [[RevoluteJoint:enableMotor]]}}
=== 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]]

Latest revision as of 17:07, 15 December 2014

Available since LÖVE 0.9.0
It has been renamed from RevoluteJoint:enableMotor.

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