diff --git a/Demos/BasicDemo/BasicDemo.cpp b/Demos/BasicDemo/BasicDemo.cpp index 1679c67de..67a54ff95 100644 --- a/Demos/BasicDemo/BasicDemo.cpp +++ b/Demos/BasicDemo/BasicDemo.cpp @@ -23,7 +23,7 @@ subject to the following restrictions: #define MAX_PROXIES (ARRAY_SIZE_X*ARRAY_SIZE_Y*ARRAY_SIZE_Z + 1024) ///scaling of the objects (0.1 = 20 centimeter boxes ) -#define SCALING 0.1 +#define SCALING 1. #define START_POS_X -5 #define START_POS_Y -5 #define START_POS_Z -3 diff --git a/Demos/OpenGL/DemoApplication.cpp b/Demos/OpenGL/DemoApplication.cpp index 6defcb78c..edc7f4300 100644 --- a/Demos/OpenGL/DemoApplication.cpp +++ b/Demos/OpenGL/DemoApplication.cpp @@ -71,7 +71,7 @@ m_cameraUp(0,1,0), m_forwardAxis(2), m_glutScreenWidth(0), m_glutScreenHeight(0), -m_ShootBoxInitialSpeed(4.f), +m_ShootBoxInitialSpeed(40.f), m_stepping(true), m_singleStep(false), m_idle(false), @@ -544,7 +544,7 @@ void DemoApplication::setShootBoxShape () btConvexShape* childShape = new btBoxShape(btVector3(1.f,1.f,1.f)); m_shootBoxShape = new btUniformScalingShape(childShape,0.5f); #else - m_shootBoxShape = new btSphereShape(.1f);//BoxShape(btVector3(1.f,1.f,1.f)); + m_shootBoxShape = new btBoxShape(btVector3(.5f,.5f,.5f)); #endif// } } @@ -554,7 +554,7 @@ void DemoApplication::shootBox(const btVector3& destination) if (m_dynamicsWorld) { - float mass = 0.1f; + float mass = 1.f; btTransform startTransform; startTransform.setIdentity(); btVector3 camPos = getCameraPosition();