Difference between revisions of "RevoluteJoint:setMotorEnabled"

Line 1: Line 1:
 +
{{newin|[[0.8.0]]|type=variant}}
 +
=== Synopsis ===
 +
<source lang="lua">
 +
RevoluteJoint:enableMotor( enable )
 +
</source>
 +
=== Arguments ===
 +
{{param|boolean|enable|True to enable, false to disable.}}
 +
=== Returns ===
 +
{{param|Joint|joint|The new revolute joint.}}
 +
 +
 +
== Function ==
 
Enables/disables the joint motor.
 
Enables/disables the joint motor.
== Function ==
+
{{oldin|[[0.8.0]]|type=variant}}
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">

Revision as of 18:49, 10 April 2012

Available since LÖVE 0.8.0
This variant is not supported in earlier versions.

Synopsis

RevoluteJoint:enableMotor( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Joint joint
The new revolute joint.


Function

Enables/disables the joint motor.

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

Synopsis

RevoluteJoint:setMotorEnabled( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages