Difference between revisions of "B2.ChainShape:createLoop"
From GiderosMobile
Line 8: | Line 8: | ||
b2.ChainShape:createLoop(vertices) | b2.ChainShape:createLoop(vertices) | ||
</source> | </source> | ||
− | '''vertices''': (any) A list of numbers that contains the x, y coordinates of the vertices sequentially | + | === Parameters === |
+ | '''vertices''': (any) A list of numbers that contains the x, y coordinates of the vertices sequentially <br/> |
Revision as of 10:45, 23 August 2018
Available since: Gideros 2011.6
Description
Creates a loop. This automatically adjusts connectivity.
b2.ChainShape:createLoop(vertices)
Parameters
vertices: (any) A list of numbers that contains the x, y coordinates of the vertices sequentially