Difference between revisions of "B2.ChainShape:createChain"
From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight") |
|||
Line 8: | Line 8: | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.ChainShape:createChain(vertices) | b2.ChainShape:createChain(vertices) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
Revision as of 17:06, 12 July 2023
Available since: Gideros 2011.6
Class: b2.ChainShape
Description
Creates a chain with isolated end vertices. <source lang="lua"> b2.ChainShape:createChain(vertices) </syntaxhighlight>
Parameters
vertices: (any) a list of numbers that contains the x, y coordinates of the vertices sequentially