Difference between revisions of "B2.PrismaticJoint:isMotorEnabled"

From GiderosMobile
Line 10: Line 10:
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>`true` if joint motor is enabled, `false` otherwise</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>''true'' if joint motor is enabled, ''false'' otherwise</translate><br/>

Revision as of 09:37, 24 August 2018

Available since: Gideros 2011.6
Class: b2.PrismaticJoint

Description


Is the joint motor enabled?

(bool) = b2.PrismaticJoint:isMotorEnabled()

Return values

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