Difference between revisions of "B2.Joint:isActive"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Joint|b2.Joint]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Line 9: Line 10:
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>[[Special:MyLanguage/true|true]] if both bodyA and bodyB is active, [[Special:MyLanguage/false|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:29, 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