B2.ChainShape:createLoop: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Creates a loop. This automatically adjusts connectivity.<br /> <br /> <source lang="lua"> = b2...."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
= 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 ''''''<br/>
'''vertices''': (any) A list of numbers that contains the x, y coordinates of the vertices sequentially ''''''<br/>

Revision as of 09:21, 23 August 2018

Available since: Gideros 2011.6

Description


Creates a loop. This automatically adjusts connectivity.

 b2.ChainShape:createLoop(vertices)

'vertices: (any) A list of numbers that contains the x, y coordinates of the vertices sequentially '