RevoluteJoint:setMotorEnabled

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

Synopsis

RevoluteJoint:enableMotor( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Joint joint
The new revolute joint.


Function

Enables/disables the joint motor.

Removed in LÖVE 0.8.0
This variant is not supported in that and later versions.

Synopsis

RevoluteJoint:setMotorEnabled( enable )

Arguments

boolean enable
True to enable, false to disable.

Returns

Nothing.

See Also


Other Languages