The collision tree does not seem to work correctly?
There are many reasons that can make the collision tree to work incorrectly, among them:
-rigid bodies been too small, or moving at too high speed,
-faces been passed with the incorrect winding,
-too many small faces,
-incorrect coordinate system,
-incorrect world placement
-collision geometry of colliding body been scale wrong, or offset relative to the body
-in some case engine using Euler angles but not using a standard pitch-yaw- roll convention.
-using an unit system too large or too small (Newton is calibrated in MKS system)
All or these are difficult to determine by mere inspection, the first step on fixing the is to implement the global debug display using the iterators functions provided with the api.
By implementing the Debug Display the user will be able to see graphically what the physics engine is doing internally.