Difference between revisions of "B2.ChainShape:createChain"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Creates a chain with isolated end vertices.<br /> <br /> <source lang="lua"> = b2.ChainShape:cr...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.ChainShape:createChain(vertices) | |
</source> | </source> | ||
− | '''vertices | + | '''vertices''': (any) A list of numbers that contains the x, y coordinates of the vertices sequentially ''''''<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2011.6
Description
Creates a chain with isolated end vertices.
b2.ChainShape:createChain(vertices)
'vertices: (any) A list of numbers that contains the x, y coordinates of the vertices sequentially '