Difference between revisions of "B2.Joint:getType"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the type of the concrete joint. The return value can be one of the `b2.REVOLUTE_JOINT`,...") |
|||
Line 7: | Line 7: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (string) | + | (string) = b2.Joint:getType() |
</source> | </source> | ||
'''Returns''' (string) The type of the joint<br/> | '''Returns''' (string) The type of the joint<br/> |
Revision as of 10:17, 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()
Returns (string) The type of the joint