I made an arm bend!
The simulation has been crashing lately after saving and loading occurs a few times. I suspect that I have some major memory leakage going on. I came in today and was greeted by the following error message.
Program received signal SIGSEGV, Segmentation fault. 0x6fcb2ebc in libstdc++-6!_ZSt14__convert_to_vIfEvPKcRT_RSt12_Ios_IostateRKPi () from D:\agi\tools\mingw32\bin\libstdc++-6.dll
I foolishly did a back trace and was greeted by an 8000 deep stack trace. I tried copying pasting it here but Blogger would not accept it. I look forward to fixing up this problem.
I was trying to learn more about how the hinge constraints work when I come across this illuminating gem in the Bullet Physics documentation.
hinge constraint between two rigid bodies each with a pivot point that describes the axis location in local space axis defines the orientation of the hinge axis
I wish I understood the constructor better.
btHingeConstraint (btRigidBody &rbA, btRigidBody &rbB, const btTransform &rbAFrame, const btTransform &rbBFrame, bool useReferenceFrameA=false)
I wish I knew more maths and physics. Still, I don't have to know more maths and physics to use btHingeConstraint::enableAngularMotor().