WheelJoint:setMotorEnabled

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

Starts and stops the joint motor.

Function

Synopsis

WheelJoint:enableMotor( enable )

Arguments

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

Returns

Nothing.

See Also


Other Languages

Personal tools