Difference between revisions of "B2.WheelJoint:enableMotor"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Enables or disables the joint motor. <br /> | Enables or disables the joint motor. <br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
b2.WheelJoint:enableMotor(flag) | b2.WheelJoint:enableMotor(flag) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''flag''': (boolean) enable flag of joint motor <br/> | + | '''flag''': (boolean) <translate>enable flag of joint motor</translate> <br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2011.6
Description
Enables or disables the joint motor.
b2.WheelJoint:enableMotor(flag)
Parameters
flag: (boolean) enable flag of joint motor