Hi, I am new to Bullet.. according to VehicleDemo I am trying to "import" this to ma engine.
But vehicle is not moving. In VehicleDemo everything works fine.
Car rigid body is inited this way:
Code:
btDefaultMotionState * bodyMotionState = new btDefaultMotionState();
btScalar mass = 1000;
btCollisionShape * bodyShape = new btBoxShape(btVector3(1, 1, 1));
this->carRigidBody = new btRigidBody(mass, bodyMotionState, bodyShape);
bulletWorld->world->addRigidBody(this->carRigidBody);
My Car Code for streering and throtle/break:
http://pastebin.com/fj1P1bzpWorld is inited corerctly... If I let cubes to fall, gravity and bouncing is correct