Page 1 of 1

MotorDemo, now with optional btGeneric6DofSpringConstraint

Posted: Fri Aug 02, 2013 11:10 pm
by kijoshua2
MotorDemo.cpp as in the examples, but with an added option to use btGeneric6DofSpringConstraint instead of btHingeConstraint for the legs. Actually wasn't as bad as I thought it would be, but examples are always nice.

Just replace your old MotorDemo.cpp, and "#define HINGE 1" to get back the old behavior.