B2.ChainShape:createLoop

From GiderosMobile
Revision as of 17:03, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2011.6
Class: b2.ChainShape

Description

Creates a loop. This automatically adjusts connectivity. <syntaxhighlight lang="lua"> b2.ChainShape:createLoop(vertices) </source>

Parameters

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




LiquidFun