Difference between revisions of "B2.RevoluteJoint:enableMotor"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Enables or disables the joint motor. <br /> <br /> <source lang="lua"> = b2.RevoluteJoint:enabl...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= b2.RevoluteJoint:enableMotor(flag,)
+
b2.RevoluteJoint:enableMotor(flag)
 
</source>
 
</source>
'''flag:''' (boolean) enable flag of joint motor ''''''<br/>
+
'''flag''': (boolean) enable flag of joint motor ''''''<br/>

Revision as of 10:16, 23 August 2018

Available since: Gideros 2011.6

Description


Enables or disables the joint motor.

 b2.RevoluteJoint:enableMotor(flag)

'flag: (boolean) enable flag of joint motor '