I'm working on a project that only need detection collision from bullet (my objects will not have a realistic movements so I need to move them myself).
As I'm starting with bullet, I training myself with 2 boxes.
At the moment, I juste want to draw the bounding boxes of my objects with this code :
Code: Select all
btCollisionShape *collisionShape = new btBoxShape(btVector3(100,100,100));
btTransform t;
btVector3 min(0,0,0);
btVector3 max(0,0,0);
collisionShape->getAabb(t, min, max);
Can you tell me what I'm doing wrong ?
Anybody here have a link that explain how to use Bullet only to detect collision ?
Than you
