Hej Brent,
I updated from 2115 to 2259.
body = display.newLine(0, -screenY, 0, 0) if bodyInfo.rotation ~= nil then body.rotation = bodyInfo.rotation end if (element.drawVector or drawVector) and notDrawn == nil then for vertPos = 2, amountVerts, 3 do if vertPos \>= 3 then body:append(bodyInfo.pathVerts[vertPos].x, bodyInfo.pathVerts[vertPos].y) end end end if not (element.drawVector or drawVector) then body.isVisible = false elseif bodyInfo.stroke then body:setColor(bodyInfo.stroke.color.r, bodyInfo.stroke.color.g, bodyInfo.stroke.color.b) body.width = bodyInfo.stroke.width end for vertPos = 2, amountVerts, 2 do shape[shapePos] = bodyInfo.pathVerts[vertPos].x; shapePos = shapePos + 1 shape[shapePos] = bodyInfo.pathVerts[vertPos].y; shapePos = shapePos + 1 shape[shapePos] = bodyInfo.pathVerts[vertPos-1].x; shapePos = shapePos + 1 shape[shapePos] = bodyInfo.pathVerts[vertPos-1].y; shapePos = shapePos + 1 table.insert(properties, { friction = friction, bounce = bounce, shape = shape }) shape = {} shapePos = 1 end if physicsEnabled then properties = { data = { ["edge"] = properties }} physics.addBody(body, "static", unpack(properties.data["edge"])) end