Properly propagate the applied impulse for the MLCP solvers, so it will be available for contact and non-contact constraints.
Use real-time clock in AllBullet2Demos, rather than hard-coded 1./60.
This commit is contained in:
@@ -10,6 +10,7 @@ enum HINGE_CREATION_METHOD
|
||||
DANTZIG_HINGE,
|
||||
LEMKE_HINGE,
|
||||
PGS_HINGE,
|
||||
SI_HINGE,
|
||||
INERTIA_HINGE
|
||||
};
|
||||
|
||||
@@ -34,6 +35,13 @@ public:
|
||||
{
|
||||
return new HingeDemo(app, PGS_HINGE);
|
||||
}
|
||||
|
||||
static BulletDemoInterface* SICreateFunc(SimpleOpenGL3App* app)
|
||||
{
|
||||
return new HingeDemo(app, SI_HINGE);
|
||||
}
|
||||
|
||||
|
||||
static BulletDemoInterface* InertiaCreateFunc(SimpleOpenGL3App* app)
|
||||
{
|
||||
return new HingeDemo(app, INERTIA_HINGE);
|
||||
|
||||
Reference in New Issue
Block a user