How should I specify friction between two materials?
Posted: Thu Feb 26, 2009 10:45 pm
Hi. I'm new to Bullet and, having worked with Newton in the past, I'm having a hard time understanding how friction works here...
In Newton you can specify friction on a material pair basis. You define two materials and then say what the friction is between those two. This corresponds to how I understand friction to work (I must admit I'm far from a physics expert...)
In Bullet, however, you can only specify the friction of a body. So if you set a large friction, that body sticks to everything and if you set a low friction it always slides on any surface. What should I do if I want to have different friction coefficients between different bodies (so that, for example, a box stays on another when I move the one in the bottom, but at the same time the bottom box slides without much effort on the floor)?
In Newton you can specify friction on a material pair basis. You define two materials and then say what the friction is between those two. This corresponds to how I understand friction to work (I must admit I'm far from a physics expert...)
In Bullet, however, you can only specify the friction of a body. So if you set a large friction, that body sticks to everything and if you set a low friction it always slides on any surface. What should I do if I want to have different friction coefficients between different bodies (so that, for example, a box stays on another when I move the one in the bottom, but at the same time the bottom box slides without much effort on the floor)?