EdgeShape can only have 2 points, sort of like a line. EdgeShape, you can maybe use it as a floor, for example.
PolygonShape on the other hand, can have multiple points, like a triangle, box, and so on. PolygonShape
Question
In Gideros, which is a 2d game development engine, box2d is a physics library, which probably is external library and not internal to Lua, there are function called edgeshape.new and Polygonshape.new(), what is the difference between two?
La solution
EdgeShape can only have 2 points, sort of like a line. EdgeShape, you can maybe use it as a floor, for example.
PolygonShape on the other hand, can have multiple points, like a triangle, box, and so on. PolygonShape