(experimental) logic timestep to 60hertz instead of 30 hertz.

This commit is contained in:
2006-05-10 02:04:21 +00:00
parent 41623cbdb9
commit 1567254b12
3 changed files with 4 additions and 4 deletions

View File

@@ -530,7 +530,7 @@ bool CcdPhysicsEnvironment::proceedDeltaTime(double curTime,float timeStep)
{
// define this in blender, the stepsize is 30 hertz, 60 hertz works much better
#define SPLIT_TIMESTEP 1
//#define SPLIT_TIMESTEP 1
#ifdef SPLIT_TIMESTEP
proceedDeltaTimeOneStep(0.5f*timeStep);

View File

@@ -78,8 +78,8 @@
// If define: little test for Nzc: guarded drawing. If the canvas is
// not valid, skip rendering this frame.
//#define NZC_GUARDED_OUTPUT
#define DEFAULT_LOGIC_TIC_RATE 30.0
#define DEFAULT_PHYSICS_TIC_RATE 90.0
#define DEFAULT_LOGIC_TIC_RATE 60.0
#define DEFAULT_PHYSICS_TIC_RATE 60.0
const char KX_KetsjiEngine::m_profileLabels[tc_numCategories][15] = {
"Physics:", // tc_physics

View File

@@ -530,7 +530,7 @@ bool CcdPhysicsEnvironment::proceedDeltaTime(double curTime,float timeStep)
{
// define this in blender, the stepsize is 30 hertz, 60 hertz works much better
#define SPLIT_TIMESTEP 1
//#define SPLIT_TIMESTEP 1
#ifdef SPLIT_TIMESTEP
proceedDeltaTimeOneStep(0.5f*timeStep);