Page 1 of 1

limits of btHingeConstraint

Posted: Wed Oct 31, 2012 12:06 pm
by Gickl
Hey,

what exactly do the 3 last parameters effect in the function:

void setLimit(btScalar low, btScalar high, btScalar _softness = 0.9f, btScalar _biasFactor = 0.3f, btScalar _relaxationFactor = 1.0f)

the low and the high limit are clear. but i'm not sure what changes exactly when the other parameters change.
i want the two bodies of a btHingeConstraint to be only rotating around the axis and not moving in other directions. at the moment the bodies are moving a little bit in other directions so that the two axes are not always matching. but the axes should be rigid like in reality.
can i achieve this with the three parameters?

Thank you in advance
Gickl