Difference between revisions of "RevoluteJoint:enableMotor"

(Added RevoluteJoint:enableMotor.)
 
m (The function has been renamed. See issue 691)
 
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=method}}
 
{{newin|[[0.8.0]]|080|type=method}}
 +
{{oldin|[[0.9.0]]|090|type=method|text=It has been renamed to [[RevoluteJoint:setMotorEnabled]]}}
 
Starts or stops the joint motor.
 
Starts or stops the joint motor.
  

Latest revision as of 06:34, 20 August 2014

Available since LÖVE 0.8.0
This method is not supported in earlier versions.
Removed in LÖVE 0.9.0
It has been renamed to RevoluteJoint:setMotorEnabled.

Starts or stops the joint motor.

Function

Synopsis

RevoluteJoint:enableMotor( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages