I have multiple rigid bodies with mass = 0 (they are static chunks in the world). Then I create chunks with mass that should collide with the world. But as you can see on the gif below, they don’t collide. They just fall by. But when I create small boxes with 1x1x1 in size, the boxes collide with the “world” bodies that has no mass.
I can’t see what I’m missing here, I really need some help.
Most physics engines use “Separating Axis Theorem” for fast detection of collisions, but it requires convex shapes. Triangle to triangle collision uses something like brute force and is unsuitable for practical use in games
I mean shape which is used to calculate inertia should be convex for inertia to be correct. Otherwise you need to override
using btCompoundShapes btCompoundShape::calculatePrincipalAxisTransform. I mean inertia tensor of course.
This hit me very badly with vehicles behavior, so I had to learn all this things. This happens with convex hulls too,
but definitely will affect non-convex shapes.
BTW it is a way for Bullet to override “momentum shape” (inertia tensor) if anybody wishes for proper vehicle dynamics
like me.