Possible bug in btBvhTriangleMeshShape
Posted: Sun Aug 10, 2008 5:23 am
When you construct a btBvhTriangleMeshShape and set the flag for it to not build it's bvh at construction time and then set the scale on it, it will crash on accessing a null m_bvh pointer down inside processAllTriangles().
The desire is to avoid building the bvh twice when something is scaled. Once at construction and once when you scale it.
I'm not sure how to go about fixing this, or if there is some other approach that works?
The desire is to avoid building the bvh twice when something is scaled. Once at construction and once when you scale it.
I'm not sure how to go about fixing this, or if there is some other approach that works?