Difference between revisions of "WheelJoint:setMotorEnabled"
(The function has been renamed. See issue 691) |
m (Fixed to synopsis) |
||
Line 5: | Line 5: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | WheelJoint: | + | WheelJoint:setMotorEnabled( enable ) |
</source> | </source> | ||
=== Arguments === | === Arguments === |
Latest revision as of 00:27, 6 November 2016
Available since LÖVE 0.9.0 |
This method is not supported in earlier versions. |
Starts and stops the joint motor.
Function
Synopsis
WheelJoint:setMotorEnabled( enable )
Arguments
boolean enable
- True turns the motor on and false turns it off.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info