B2.ChainShape:createLoop

From GiderosMobile
Revision as of 09:29, 24 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6
Class: b2.ChainShape

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