Code: Select all
self.shape = love.physics.newPolygonShape(-2, -2, 2, -2, 2, 0, 1, 0, 1, 4, -1, 4, -1, 0, -2, 0)
Can somebody please explain to me what I'm doing wrong, or if I should just use two rectangles with the physics body to accomplish this task instead?