Hello,
I have different fixtures colliding with each other. I would like to apply different resitutions depending on which pair of fixtures are colliding. Actually I need to set it to almost 0 when 2 specific fixtures collide.
I have tried changing the restitution in the presolve contact listener method and restoring it in post solve but no luck!
I am using the box2dweb 2.1a version bundled with cocos2d.
Any help will be highly appreciated!
Thank you,
Francesco
I have different fixtures colliding with each other. I would like to apply different resitutions depending on which pair of fixtures are colliding. Actually I need to set it to almost 0 when 2 specific fixtures collide.
I have tried changing the restitution in the presolve contact listener method and restoring it in post solve but no luck!
I am using the box2dweb 2.1a version bundled with cocos2d.
Any help will be highly appreciated!
Thank you,
Francesco