Bug in btGImpactQuantizedBvh::refit function with scaling the mesh
kochol opened this issue · 0 comments
kochol commented
I have a program that uses btGImpactMeshShape to create a mesh shape and when I scale it the collision detection won't work anymore.
But when I remove the below if and call the m_box_set.buildSet() function everything works as expected.
bullet3/src/BulletCollision/Gimpact/btGImpactShape.h
Lines 86 to 89 in 6bb8d11
I think the bug is in the below function.
bullet3/src/BulletCollision/Gimpact/btGImpactQuantizedBvh.h
Lines 101 to 110 in 6bb8d11