limits of btHingeConstraint

Post Reply
Gickl
Posts: 33
Joined: Tue Jun 05, 2012 8:43 am

limits of btHingeConstraint

Post 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
Post Reply