Search found 5 matches
- Wed Sep 16, 2015 4:20 am
- Forum: Support and Development
- Topic: Box2d assertion in love.physics.newPolygonShape
- Replies: 10
- Views: 3673
Re: Box2d assertion in love.physics.newPolygonShape
Scaling everything up works great! Thank you so much for the help!!!
- Tue Sep 15, 2015 10:11 am
- Forum: Support and Development
- Topic: Box2d assertion in love.physics.newPolygonShape
- Replies: 10
- Views: 3673
Re: Box2d assertion in love.physics.newPolygonShape
I'll blow up both polygons by a factor 100 and see if the bug goes away. If so, I'll see if I can do the physics sim in smaller units. Do you know the value of b2_linearSlop, by the way? The bug was reported in 2014 and there's been a patch available... I wonder how long until there's a fix in Löve2...
- Mon Sep 14, 2015 7:16 pm
- Forum: Support and Development
- Topic: Box2d assertion in love.physics.newPolygonShape
- Replies: 10
- Views: 3673
Re: Box2d assertion in love.physics.newPolygonShape
The first goes through (1, 3), (2, 4), (4, 2), and (3, 1), and the other goes through (2, 4), (4, 3), (3, 1), and (1, 2), so yes. What's the significance, though?
- Sat Sep 12, 2015 8:01 pm
- Forum: Support and Development
- Topic: Box2d assertion in love.physics.newPolygonShape
- Replies: 10
- Views: 3673
Re: Box2d assertion in love.physics.newPolygonShape
In my post I show two polygons, both of which go counterclockwise, and with the same distance between points (which are all 1.41). This one fails: (1, 3, 2, 4, 4, 2, 3, 1) This one works: {2, 4, 4, 3, 3, 1, 1, 2 } Plot it out on graph paper if you don't believe me about the point order and distances...
- Wed Sep 09, 2015 5:52 am
- Forum: Support and Development
- Topic: Box2d assertion in love.physics.newPolygonShape
- Replies: 10
- Views: 3673
Box2d assertion in love.physics.newPolygonShape
Hi! I'm getting a very frustrating Box2D assertion when I use love.physics.newPolygonShape with a very simple rectangle. I've attached a simple test program that demonstrates the issue. I'm using Löve2d 9.2. -- 4 -- 3 -- 1 -- 2 function love.load() world = love.physics.newWorld(0,981,true) body = lo...