B2.ChainShape:createLoop: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate><br />
<translate><br />
Creates a loop. This automatically adjusts connectivity.<br />
Creates a loop. This automatically adjusts connectivity.<br />
Line 8: Line 8:
  b2.ChainShape:createLoop(vertices)
  b2.ChainShape:createLoop(vertices)
</source>
</source>
=== Parameters ===
=== <translate>Parameters</translate> ===
'''vertices''': (any) <translate>A list of numbers that contains the x, y coordinates of the vertices sequentially</translate> <br/>
'''vertices''': (any) <translate>A list of numbers that contains the x, y coordinates of the vertices sequentially</translate> <br/>

Revision as of 06:28, 24 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