MotorDemo, now with optional btGeneric6DofSpringConstraint

Show what you made with Bullet Physics SDK: Games, Demos, Integrations with a graphics engine, modeler or any other application
Post Reply
kijoshua2
Posts: 7
Joined: Wed Mar 06, 2013 9:12 pm

MotorDemo, now with optional btGeneric6DofSpringConstraint

Post 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.
Attachments
MotorDemo.cpp
(14.07 KiB) Downloaded 1203 times
Post Reply