(experimental) logic timestep to 60hertz instead of 30 hertz.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user