Difference between revisions of "B2.Joint:getType"
From GiderosMobile
Line 3: | Line 3: | ||
=== Description === | === Description === | ||
<translate><br /> | <translate><br /> | ||
− | Returns the type of the concrete joint. The return value can be one of the [[b2.REVOLUTE_JOINT]], [[b2.PRISMATIC_JOINT]], [[b2.DISTANCE_JOINT]], [[b2.PULLEY_JOINT]],<br /> | + | 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 /> |
− | [[b2,MOUSE_JOINT]], [[b2.GEAR_JOINT]], [[b2.LINE_JOINT]], [[b2.WELD_JOINT]], [[b2.FRICTION_JOINT]], [[b2.ROPE_JOINT]].<br /> | + | [[Special:MyLanguage/b2,MOUSE_JOINT|b2,MOUSE_JOINT]], [[Special:MyLanguage/b2.GEAR_JOINT|b2.GEAR_JOINT]], [[Special:MyLanguage/b2.LINE_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 /> |
<br /></translate> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> |
Revision as of 16:33, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the type of the concrete joint. The return value can be one of the b2.REVOLUTE_JOINT, b2.PRISMATIC_JOINT, b2.DISTANCE_JOINT, b2.PULLEY_JOINT,
b2,MOUSE_JOINT, b2.GEAR_JOINT, b2.LINE_JOINT, b2.WELD_JOINT, b2.FRICTION_JOINT, b2.ROPE_JOINT.
(string) = b2.Joint:getType()
Return values
Returns (string) The type of the joint