Code: Select all
shape = love.physics.newPolygonShape(-math.sin(15*math.pi)*24, math.cos(15*math.pi)*24, -math.sin(30*math.pi)*24, math.cos(30*math.pi)*24, -math.sin(15*math.pi)*24, math.cos(30*math.pi)*32)
What does the error mean? (I know they're terrible)
What did I do wrong?
This is the shape I'm trying to draw:
|\
| \
Edit: nevermind, I wrote some really stupid things