The broken version looks like a line, but it's actually a very long, very thin loop. So, the first problem is that your shapes may be colliding with both sides of the line at roughly the same time, since the top of the loop and the bottom of the loop are nearly overlapping. But perhaps the bigger problem is that the upper side of the loop -- the side that your shapes would ideally collide with first -- is going in the wrong direction. It's a ceiling. So the broken SVG is a very long, thing interior, like an ant tunnel, rather than an exterior, like a rope.
I leave it up to you to figure out what tools to use in Inkscape to make proper SVGs for EdgeShapes.
The easiest way to attach edge shapes to a dynamic body is to attach a circle or polygon with density to that same body before setting its mass from shapes. The circle or polygon will determine the body's mass and center.
Dynamic edge shapes may behave strangely. They will never collide with each other, or with static edge shapes. I will not provide much support for them.
FInally, I attached the edge shape to a dynamic body, but the edge shape lost collision on both sides. Is there anyway to turn the one side of the edge shape collision on?
The EdgeShapes should still collide properly on one side, even in a dynamic body. Remember, though, that EdgeShapes will never collide against other EdgeShapes.
I got the solution by Google~
THX
Hello,
first, great great job on this !
I used the package, i saw some modified b2Classes, no problem for me it works great.
But when i want to plug the b2BuoyancyController from boristhebrave or the b2SpringController, it seems it have its own modifications in the b2Classes. So when i merge the two i have a lot of complication...
Is there a way to merge properly the two packages ? Because for a newbie like me, it's very difficult !
I saw there is some modification in the main SVN repository, but is there all the good packages ?
Sorry for my english, i'm french.