Difference between revisions of "B2.ChainShape:createChain"

From GiderosMobile
Line 8: Line 8:
 
  b2.ChainShape:createChain(vertices)
 
  b2.ChainShape:createChain(vertices)
 
</source>
 
</source>
'''vertices''': (any) A list of numbers that contains the x, y coordinates of the vertices sequentially ''''''<br/>
+
=== Parameters ===
 +
'''vertices''': (any) A list of numbers that contains the x, y coordinates of the vertices sequentially <br/>

Revision as of 11:44, 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