Selective restitution

Hi,

I'm making some Asteroids clone, and would like the asteroids to bounce against each other, but the player not to bounce too much when flying into an asteroid. How can I attain this result ? I tried setting 0 restitution for the player, and 1 for asteroids, but the player still bounces on asteroids.

Thanks
You can customize the restitution mixing function in b2Settings.h.

Original thread: https://box2d.org/forum/viewtopic.php?t=4692