Difference between revisions of "WheelJoint:enableMotor"

(Added WheelJoint:enableMotor.)
 
m
Line 1: Line 1:
{{newin|[[0.8.0]]|type=method}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Starts and stops the joint motor.
 
Starts and stops the joint motor.
  

Revision as of 13:47, 4 May 2012

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

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