Box2D - Error

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Box2D - Error

Post by Nixola »

Hi, I have this line to create a shape:

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)
It throws me the error "area > b2_epsilon"

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
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: No registered users and 65 guests