expose maximum applied impulse for btMultiBody, introduced to reduce/avoid 'exploding' simulations

use btScalar instead of float, to enable double precision build, fix for Issue 744
This commit is contained in:
erwin.coumans@gmail.com
2013-10-06 17:13:08 +00:00
parent 488dd44835
commit 34d975143e
6 changed files with 44 additions and 33 deletions

View File

@@ -92,8 +92,8 @@ btMultiBody::btMultiBody(int n_links,
m_baseCollider(0),
m_linearDamping(0.04f),
m_angularDamping(0.04f),
m_useGyroTerm(true)
m_useGyroTerm(true),
m_maxAppliedImpulse(1000.f)
{
links.resize(n_links);