My simple box has restitution parameter set to 0. But still when it falls from high it bounces from ground and other boxes (ground is a static obj with restitution = 0)
The same problem was posted here but I don't know how to modify b2MixRestitution with Gideros:
http://www.box2d.org/forum/viewtopic.php?f=4&t=5662Please help me, thank you
Comments
Increasing density of object or maybe even friction might help.
And of course if all fails, you can try some drastical solutions, like creating a magnet from floor
Likes: thanhquan1512
As in box2D's documentation: "set restitution = 0 does not guarantee that there is no bouncing". Actually I don't know where is the problem
Edit: Got it, after many tries I decide to slow down box & avoid bouncing, use:
boxBody:setLinearDamping(number)
Ultimate Games on Appstore
Ultimate Games on Google Play
Set up the pre_solve event and inside it, retrieve contact object and modify it's restitution like this:
Likes: atilim
Likes: Diego_85