Difference between revisions of "B2.Joint:getType"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
*[[Special:MyLanguage/b2.WELD_JOINT|b2.WELD_JOINT]]
 
*[[Special:MyLanguage/b2.WELD_JOINT|b2.WELD_JOINT]]
 
*[[Special:MyLanguage/b2.WHEEL_JOINT|b2.WHEEL_JOINT]]
 
*[[Special:MyLanguage/b2.WHEEL_JOINT|b2.WHEEL_JOINT]]
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = b2.Joint:getType()
 
(string) = b2.Joint:getType()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 17:04, 12 July 2023


Available since: Gideros 2011.6
Class: b2.Joint

Description

Returns the type of the concrete joint. The return value can be one of the following:

(string) = b2.Joint:getType()

Return values

Returns (string) the type of the joint




LiquidFun