Difference between revisions of "RevoluteJoint:setMotorEnabled"
Line 1: | Line 1: | ||
+ | {{newin|[[0.8.0]]|type=variant}} | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | RevoluteJoint:enableMotor( enable ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|boolean|enable|True to enable, false to disable.}} | ||
+ | === Returns === | ||
+ | {{param|Joint|joint|The new revolute joint.}} | ||
+ | |||
+ | |||
+ | == Function == | ||
Enables/disables the joint motor. | Enables/disables the joint motor. | ||
− | = | + | {{oldin|[[0.8.0]]|type=variant}} |
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> |
Revision as of 18:49, 10 April 2012
Available since LÖVE 0.8.0 |
This variant is not supported in earlier versions. |
Contents
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
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