Difference between revisions of "WheelJoint:enableMotor"

m
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 [[WheelJoint:setMotorEnabled]]}}
 
Starts and stops the joint motor.
 
Starts and stops the joint motor.
  

Latest revision as of 06:42, 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 WheelJoint:setMotorEnabled.

Starts and stops the joint motor.

Function

Synopsis

WheelJoint:enableMotor( on )

Arguments

boolean on
True turns the motor on and false turns it off.

Returns

Nothing.

See Also


Other Languages