W3cubDocs

/LÖVE

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


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/RevoluteJoint:setMotorEnabled