Available since LÖVE 0.8.0
This function is not supported in earlier versions.
Creates a new ChainShape.
Due to a limitation of the current collision algorithm, collision with chain shapes can react in a odd manner. see [here]
shape = love.physics.newChainShape( loop, x1, y1, x2, y2, ... )
boolean loop
number x1
number y1
number x2
number y2
number ...
ChainShape shape
Available since LÖVE 0.9.2
This variant is not supported in earlier versions.
shape = love.physics.newChainShape( loop, points )
boolean loop
table points
{x1, y1, x2, y2, ...}
.ChainShape shape
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.physics.newChainShape