I have an height map and many btBvhTriangleMesh shapes over the terrain.
I'm using btPairCachingGhostObject for the convex sweep tests and the problem is that, in certain conditions, the convex sweep does not detect correctly collisions, that is , returns 0 hits when actually there is an object to collide with.
The problem was solved by changing:
Code: Select all
m_ghostObject->convexSweepTest (...)
Code: Select all
m_world->convexSweepTest(...)
Is there any way I can tell bullet, to collect collision pairs in the ghost object based on the aabb that encompasses the object's motion?
Thanks in advance.