B2.ChainShape:createLoop

From GiderosMobile
Revision as of 08:14, 17 February 2020 by MoKaLux (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




LiquidFun