Search found 2 matches

by c0ff33.alex
Sun Mar 04, 2012 1:18 pm
Forum: General
Topic: Box2D (Assertion fail with polygon meshes)
Replies: 1
Views: 1123

Re: Box2D (Assertion fail with polygon meshes)

Hi, now I know what I was doing wrong. Some polygons were created in clockwise winding. These didn't work, while the ones I created in counterclockwise winding worked perfectly. Here's a manual page on this topic: http://www.box2d.org/manual.html#_Toc258082970 (thanks to Cato112 from gamedev.stackex...
by c0ff33.alex
Sun Mar 04, 2012 12:37 am
Forum: General
Topic: Box2D (Assertion fail with polygon meshes)
Replies: 1
Views: 1123

Box2D (Assertion fail with polygon meshes)

When I try to create a triangle collider for my game it sometimes leads to an assertion fail. I use the physics engine that comes with love2d (Box2D). That's the error message that appears when the assertion fails: love: modules/physics/box2d/Source/Collision/Shapes/b2PolygonShape.cpp:85: b2Vec2 Com...