Bug in HEAD revision of Bullet?

SteveDeFacto
Posts: 31
Joined: Sat Jul 23, 2011 4:24 pm

Bug in HEAD revision of Bullet?

Post by SteveDeFacto »

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...
Aardwolf
Posts: 13
Joined: Thu Jul 07, 2011 2:57 am

Re: Bug in HEAD revision of Bullet?

Post by Aardwolf »

Maybe if I do something about other people's unanswered questions someone will answer mine...

I believe the angles are supposed to be in radians, not degrees.