Increased the number of substeps to give better kart acceleration (though

slower reaction) on slower machines.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-05-05 08:01:41 +00:00
parent 62fe49b54f
commit a41ce77029

View File

@ -95,7 +95,7 @@ void Physics::update(float dt)
// Maximum of three substeps. This will work for framerate down to
// 20 FPS (bullet default frequency is 60 HZ).
m_dynamics_world->stepSimulation(dt, 3);
m_dynamics_world->stepSimulation(dt, 20);
// Now handle the actual collision. Note: rockets can not be removed
// inside of this loop, since the same rocket might hit more than one