Downloaded source code from the SVN repository and compiled it but when I create a constraint and set either upper or lower angular limits the constraint completely breaks. Example:
Code: Select all
constraint->setLinearLowerLimit( btVector3(0.0f, 0.0f, 0.0f) );
constraint->setLinearUpperLimit( btVector3(0.0f, 0.0f, 0.0f) );
constraint->setAngularLowerLimit( btVector3(0.0f, 0.0f, 0.0f ) );
constraint->setAngularUpperLimit( btVector3(30.0f, 30.0f, 30.0f ) );
Thought this would allow 30 degrees of angular freedom but instead the constraints do nothing... When I don't set the angular limits the linear limits work fine but if I do set the angular limits the linear and angular limits completely release...