Hi guys i'm using libgdx but this seems to be a box2d issue so i post my problem also here . i'm bit confused ... does chainshape suppose to delete ghost vertices problem? because in my project seems not...
my player body still collide with vertices inside the chain! what should i use instead ? edgeShape ? but from here http://www.box2d.org/manual.html#_Toc258082972 seems that chainshape should solve automatically all ghost vertices... what am i missing ?
I've found that this behavior happen also in Box2dTest from libgdx's Github. here some screenshoots ( 3 images)
http://imgur.com/FJptZDR&EKNYGYE&Zg402TW
Has you can see i've added a vertex in the middle of the shape ( that is a chainShape) and it generates a ghost collision ( begin contact - end contact ) when one other body walks on it. That 's the supposed behavior or is it a bug ?
my player body still collide with vertices inside the chain! what should i use instead ? edgeShape ? but from here http://www.box2d.org/manual.html#_Toc258082972 seems that chainshape should solve automatically all ghost vertices... what am i missing ?
I've found that this behavior happen also in Box2dTest from libgdx's Github. here some screenshoots ( 3 images)
http://imgur.com/FJptZDR&EKNYGYE&Zg402TW
Has you can see i've added a vertex in the middle of the shape ( that is a chainShape) and it generates a ghost collision ( begin contact - end contact ) when one other body walks on it. That 's the supposed behavior or is it a bug ?