I'm using chipmunk and I want to stack boxes in a column, but when they collide, they bounce. I already set elasticity to 0 to all boxes, but they are still bouncing upwards.
I dont know Chipmunk much. Bu it should be close to Box2D i guess.
In Box2D you can prevent it simply setting the "restitution" value to "0" for all boxes.
For example:
boxFixtureDef.restitution = 0.0f;
I hope this gives some idea for solving this problem in Chipmunk.
0
votes
Depending on how large the stack of boxes is, you'll need to increase the number of iterations to increase the solver's accuracy.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more