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.
MotorDemo, now with optional btGeneric6DofSpringConstraint
MotorDemo, now with optional btGeneric6DofSpringConstraint
- Attachments
-
- MotorDemo.cpp
- (14.07 KiB) Downloaded 1230 times