only move 10% of objects

added relative path to Bullet projectfiles (math/collision)
This commit is contained in:
erwin.coumans
2008-04-02 19:22:08 +00:00
parent 1ef4c721a0
commit 8ddbf12f1a
5 changed files with 15 additions and 15 deletions

View File

@@ -221,7 +221,7 @@ btDbvtBroadphase* pb=(btDbvtBroadphase*)m_broadphase;
const btScalar speed=m_speed;
const btScalar ampl=m_amp;
const int nupd=m_bfirsttime? pb->m_proxies.size():
(pb->m_proxies.size()*100)/100;
(pb->m_proxies.size()*10)/100;
/* Move boxes */
m_profiler.Start();
for(int i=0;i<nupd;i++)