processed a lot of feedback: added 'realtime' simulation with fixed substeps (and clamping maximum number of substeps), this means that when stepSimulation is called with smaller timesteps then 'fixed substep' the motionstate is interpolated.

renamed m_ccdSweptSphereRadius,
enabled wireframe debugDrawObject (using debugDrawer)
This commit is contained in:
ejcoumans
2006-10-18 03:28:42 +00:00
parent 1fe414d98a
commit 3a6942fb91
32 changed files with 406 additions and 185 deletions

View File

@@ -38,6 +38,7 @@ subject to the following restrictions:
#include "LinearMath/btVector3.h"
#include "LinearMath/btMatrix3x3.h"
#include "LinearMath/btTransform.h"
#include "LinearMath/btQuickProf.h"
class btCollisionShape;
class btDynamicsWorld;
@@ -50,6 +51,8 @@ class DemoApplication
protected:
hidden::Clock m_clock;
///this is the most important class
btDynamicsWorld* m_dynamicsWorld;
@@ -134,7 +137,7 @@ public:
virtual void clientMoveAndDisplay() = 0;
virtual void clientResetScene() =0 ;
virtual void clientResetScene();
///Demo functions
void shootBox(const btVector3& destination);