Disable DX11 cloth bounds update, it is too slow by default.

Use g_dx11Solver->setEnableUpdateBounds(true); to re-enable it (it enables GPU collision of cloth versus capsule)
This commit is contained in:
erwin.coumans
2011-09-14 20:55:00 +00:00
parent 385933b5ed
commit b68c64f2db
3 changed files with 20 additions and 2 deletions

View File

@@ -496,7 +496,11 @@ void initBullet(void)
#endif
#endif
if (g_dx11SIMDSolver)
g_dx11SIMDSolver->setEnableUpdateBounds(true);
if (g_dx11Solver)
g_dx11Solver->setEnableUpdateBounds(true);
// Initialise CPU physics device
//m_collisionConfiguration = new btDefaultCollisionConfiguration();