B2.PrismaticJoint:isMotorEnabled: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Is the joint motor enabled? <br />
Is the joint motor enabled? <br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(bool) = b2.PrismaticJoint:isMotorEnabled()
(bool) = b2.PrismaticJoint:isMotorEnabled()
</source>
</source>
=== Return values ===
=== Return values ===
'''Returns''' (bool) `true` if joint motor is enabled, `false` otherwise<br/>
'''Returns''' (bool) <translate>[[[true` if joint motor is enabled, `false]]] otherwise</translate><br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2011.6

Description


Is the joint motor enabled?

(bool) = b2.PrismaticJoint:isMotorEnabled()

Return values

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