Difference between revisions of "B2.RevoluteJoint:isMotorEnabled"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Is the joint motor enabled? <br /> <br /> <source lang="lua"> (bool), = b2.RevoluteJoint:isMoto...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(bool), = b2.RevoluteJoint:isMotorEnabled()
+
(bool) = b2.RevoluteJoint:isMotorEnabled()
 
</source>
 
</source>
 
'''Returns''' (bool) `true` if joint motor is enabled, `false` otherwise<br/>
 
'''Returns''' (bool) `true` if joint motor is enabled, `false` otherwise<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2011.6

Description


Is the joint motor enabled?

(bool) = b2.RevoluteJoint:isMotorEnabled()

Returns (bool) `true` if joint motor is enabled, `false` otherwise