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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user