Why does the universal constraint use the 6DOF Y axis?

Post Reply
eplk
Posts: 8
Joined: Wed Jul 29, 2015 9:37 pm

Why does the universal constraint use the 6DOF Y axis?

Post by eplk »

Looking through the source, I noticed btUniversalConstraint uses the Z and Y axes of the 6DOF and 'locks' the X axis. Using the Y axis however, limits the range of rotation on that axis to -0.5*PI to 0.5*PI instead of the full -PI to PI which is available for the Z and X axes. Wouldn't it be better to use the Z and X axes of the 6DOF and lock the Y axis, so that the universal constraint doesn't suffer from this smaller range on its second axis?
Post Reply