Hopefully box2d questions are ok here. I posted long ago in the official box2d forums but it’s completely dead. Maybe some box2d guys here? Well here goes: So I’m trying to create a custom shape that I define with points (b2Vec2, 11 points) and then use the SetAsArray method to set it up (code below). So it creates it, but when a ball hits it, it’s not working right. It seems like hitting quicksand and then falling through (I also set up boundaries so it hits that after it goes through, if I remove it then the ball just goes off screen). Here is the swf for you guys to see exactly what is happening (debug draw is on):
edit: why does the code tag completely mess up this?
edit2: see the code in this thread: http://www.box2d.org/forum/viewtopic.php?f=8&t=8013