mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 17:30:12 +00:00
Motor parameter m_fMuscleStrength for the Dynamic Control Demo has been changed to allow demo work with new constraint solver
This commit is contained in:
parent
5a0d8a9470
commit
bdf78e0735
@ -256,7 +256,12 @@ void MotorDemo::initPhysics()
|
||||
|
||||
m_Time = 0;
|
||||
m_fCyclePeriod = 2000.f; // in milliseconds
|
||||
m_fMuscleStrength = 0.05f;
|
||||
|
||||
// m_fMuscleStrength = 0.05f;
|
||||
// new SIMD solver for joints clips accumulated impulse, so the new limits for the motor
|
||||
// should be (numberOfsolverIterations * oldLimits)
|
||||
// currently solver uses 10 iterations, so:
|
||||
m_fMuscleStrength = 0.5f;
|
||||
|
||||
setCameraDistance(btScalar(5.));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user