I don’t quite understand what you want to say here. A sceenshot with the debug renderer on (and visible geometry only in wireframe render mode) would help probably.
If you want a box - and not an arbitraty geometry - then you should use a box shape. Both in Bullet and ODE.
BulletTriangleMeshShape is usually used for static bodies, e. i. ground, static obstacles, rooms. You can use BulletTriangleMesh for dynamic bodies too, but then you have to create it this way:
BulletTriangleMeshShape(mesh, dynamic=True)
The Panda3D Bullet module will then create a different native Bullet shape type internally.
Usually it is better to use BulletConvexHullShape for all dynamic objects (ships, cars, asteroids, …).
I’ve added debug tools to see debug framewire…
I see what’s wrong. The size of the shape doesn’t match with the model. My shape does at least the half of the size of my model.
I don’t know how to do to match the size of my model.
Do you have any clue to follow?