Difference between revisions of "RevoluteJoint:setMotorEnabled"

Line 7: Line 7:
 
{{param|boolean|enable|True to enable, false to disable.}}
 
{{param|boolean|enable|True to enable, false to disable.}}
 
=== Returns ===
 
=== Returns ===
{{param|Joint|joint|The new revolute joint.}}
+
Nothing.
  
  

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

Nothing.


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