fix GPU solver (need to clear .w component because "m_linear" contains friction coefficient

added a mixed solver to find bugs like that
This commit is contained in:
erwin coumans
2013-04-02 14:53:30 -07:00
parent 1ebcc78280
commit e38c032280
13 changed files with 456 additions and 13 deletions

View File

@@ -123,7 +123,7 @@ void GpuSphereScene::setupScene(const ConstructionInfo& ci)
mass=0.f;
//btVector3 position((j&1)+i*2.2,2+j*2.,(j&1)+k*2.2);
btVector3 position(i*2.2,2+j*2.,k*2.2);
btVector3 position(i*2.2,2+j*4.,k*2.2);
btQuaternion orn(0,0,0,1);