Difference between revisions of "B2.Joint:isActive"

From GiderosMobile
m
m (Text replacement - "</source" to "</syntaxhighlight")
Line 7: Line 7:
 
<source lang="lua">
 
<source lang="lua">
 
(bool) = b2.Joint:isActive()
 
(bool) = b2.Joint:isActive()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Revision as of 16:36, 12 July 2023

Available since: Gideros 2011.6
Class: b2.Joint

Description

Shortcut function to determine if either body is inactive. <source lang="lua"> (bool) = b2.Joint:isActive() </syntaxhighlight>

Return values

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




LiquidFun