Allow the ForkLiftDemo to toggle between MLCP and SI solver, using F6 key.

Apply patch for CMake config, see Issue 754 (Issue 753)
Fix a few issue with the MLCP solver: allow split impulse, and fix offset in friction dependencies
This commit is contained in:
erwin.coumans@gmail.com
2013-10-23 23:35:13 +00:00
parent e5590575a9
commit a1c962192c
15 changed files with 298 additions and 49 deletions

View File

@@ -83,7 +83,9 @@ class ForkLiftDemo : public GlutDemoApplication
virtual void clientMoveAndDisplay();
virtual void clientResetScene();
virtual void resetForklift();
virtual void clientResetScene();
virtual void displayCallback();
@@ -97,7 +99,7 @@ class ForkLiftDemo : public GlutDemoApplication
void renderme();
void initPhysics();
void termPhysics();
void exitPhysics();
static DemoApplication* Create()
{