RevoluteJoint:setMotorEnabled

Available since LÖVE 0.9.0
It has been renamed from RevoluteJoint:enableMotor.

Enables/disables the joint motor.

Function

Synopsis

RevoluteJoint:setMotorEnabled( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages