Difference between revisions of "B2.Joint:isActive"

From GiderosMobile
Line 10: Line 10:
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>`true` if both bodyA and bodyB is active, `false` otherwise</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>''true'' if both bodyA and bodyB is active, ''false'' otherwise</translate><br/>

Revision as of 10:37, 24 August 2018

Available since: Gideros 2011.6
Class: b2.Joint

Description


Short-cut function to determine if either body is inactive.

(bool) = b2.Joint:isActive()

Return values

Returns (bool) true if both bodyA and bodyB is active, false otherwise