Difference between revisions of "B2.Joint:getType"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Joint|b2.Joint]]<br/>
+
'''Class:''' [[Special:MyLanguage/b2.Joint|b2.Joint]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Returns the type of the concrete joint. The return value can be one of the [[Special:MyLanguage/b2.REVOLUTE_JOINT|b2.REVOLUTE_JOINT]], [[Special:MyLanguage/b2.PRISMATIC_JOINT|b2.PRISMATIC_JOINT]], [[Special:MyLanguage/b2.DISTANCE_JOINT|b2.DISTANCE_JOINT]], [[Special:MyLanguage/b2.PULLEY_JOINT|b2.PULLEY_JOINT]],<br />
+
Returns the type of the concrete joint. The return value can be one of the following:
''b2,MOUSE_JOINT'', [[Special:MyLanguage/b2.GEAR_JOINT|b2.GEAR_JOINT]], ''b2.LINE_JOINT'', [[Special:MyLanguage/b2.WELD_JOINT|b2.WELD_JOINT]], [[Special:MyLanguage/b2.FRICTION_JOINT|b2.FRICTION_JOINT]], [[Special:MyLanguage/b2.ROPE_JOINT|b2.ROPE_JOINT]].<br />
+
*[[Special:MyLanguage/b2.DISTANCE_JOINT|b2.DISTANCE_JOINT]]
<br /></translate>
+
*[[Special:MyLanguage/b2.FRICTION_JOINT|b2.FRICTION_JOINT]]
<source lang="lua">
+
*[[Special:MyLanguage/b2.GEAR_JOINT|b2.GEAR_JOINT]]
 +
*[[Special:MyLanguage/b2.MOUSE_JOINT|b2.MOUSE_JOINT]]
 +
*[[Special:MyLanguage/b2.PRISMATIC_JOINT|b2.PRISMATIC_JOINT]]
 +
*[[Special:MyLanguage/b2.PULLEY_JOINT|b2.PULLEY_JOINT]]
 +
*[[Special:MyLanguage/b2.REVOLUTE_JOINT|b2.REVOLUTE_JOINT]]
 +
*[[Special:MyLanguage/b2.ROPE_JOINT|b2.ROPE_JOINT]]
 +
*[[Special:MyLanguage/b2.WELD_JOINT|b2.WELD_JOINT]]
 +
*[[Special:MyLanguage/b2.WHEEL_JOINT|b2.WHEEL_JOINT]]
 +
<syntaxhighlight lang="lua">
 
(string) = b2.Joint:getType()
 
(string) = b2.Joint:getType()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (string) <translate>The type of the joint</translate><br/>
+
=== Return values ===
 +
'''Returns''' (string) the type of the joint<br/>
 +
 
 +
{{B2.Joint}}

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