raAFrame,rbBFrame in btHingeConstraint ?
Posted: Thu Jun 11, 2015 3:01 pm
Hello,
I am not able to understand how does parameters in raAFrame,rbBFrame are used in creating the btHingeConstraint.
btHingeConstraint(btRigidBody& rbA,
btRigidBody& rbB,
const btTransform& rbAFrame,
const btTransform& rbBFrame,
bool useReferenceFrameA = false)
Especially I am struck with understanding of "raAFrame.getBasis().setEulerZYX(XX , XX, XX) "
Also the name is showing as "setEulerZYX()" but the actual code is taking it as "X Y Z" parameters - This is also confusing.
What does setting the Euler's angles means in the context of rigidBody,btTransform and btHingeConstraint ??
To be precise I am refering to ForkLiftDemo example.
Any help is much appreciated.
I am not able to understand how does parameters in raAFrame,rbBFrame are used in creating the btHingeConstraint.
btHingeConstraint(btRigidBody& rbA,
btRigidBody& rbB,
const btTransform& rbAFrame,
const btTransform& rbBFrame,
bool useReferenceFrameA = false)
Especially I am struck with understanding of "raAFrame.getBasis().setEulerZYX(XX , XX, XX) "
Also the name is showing as "setEulerZYX()" but the actual code is taking it as "X Y Z" parameters - This is also confusing.
What does setting the Euler's angles means in the context of rigidBody,btTransform and btHingeConstraint ??
To be precise I am refering to ForkLiftDemo example.
Any help is much appreciated.