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