rotating several btRigidBodies correctly
Posted: Thu Jun 18, 2015 1:35 pm
Hello everyone!
I have many btRigidBodies that make up a hand, and I want to rotate them from data received from a device. I tried to rotate from the quaternion but not work, the fingers of the hand give off... the palm was fixed to a point and is not what I want...
I'm using constraints to fix the hands parts, and to move the fingers i'm using a rotation in the x angle to open and close the hand (moving the fingers from a glove data).
When I try to rotate only the palm, the fingers did not follow the hand rotation, only maintained the rotation data glove...
My question is: there is a way to rotate the hand all together ? In order that the fingers and the hand move to the same direction?
Thanks!
I have many btRigidBodies that make up a hand, and I want to rotate them from data received from a device. I tried to rotate from the quaternion but not work, the fingers of the hand give off... the palm was fixed to a point and is not what I want...
I'm using constraints to fix the hands parts, and to move the fingers i'm using a rotation in the x angle to open and close the hand (moving the fingers from a glove data).
When I try to rotate only the palm, the fingers did not follow the hand rotation, only maintained the rotation data glove...
My question is: there is a way to rotate the hand all together ? In order that the fingers and the hand move to the same direction?
Thanks!