I have some problem with representation of quaternion. I do following:
Code: Select all
float yaw, pitch, roll;
yaw = 1.5f; pitch = 1.f; roll = 0.5f;
btQuaternion orn;
orn.setEuler(yaw, pitch, roll);
Second problem:
The function getBasis() returned the product of matrixes RyRxRz, where Rx, Ry, Rz – rotation matrixes around axis X, Y, Z correspondently. If is it possible to get the RxRyRz or RzRyRx product?
Thx/Brgds
Mikhail Konev