Closed nightwolfz closed 7 years ago
const points = [[0,0], [1,1]] const something = ... // create object here something.body.addPolygon(null, points) console.log(points.map(x => x))
I believe this was fixed in https://github.com/schteppe/p2.js/commit/de568a2a89241d7c0e4cd5c36ed8204ee108d46c