Page 1 of 1

Assertion in btQuantizedBvh

Posted: Fri Nov 07, 2008 10:27 pm
by hearsedriver
I have a dynamically generated level, and I push geometry into Bullet and remove it once the player has passed it. This runs well for a while, but every now and then the following assertion fails:

Code: Select all

Assertion failed: (point.getX() <= m_bvhAabbMax.getX()), function quantize, file /[mydir]/bullet/btQuantizedBvh.h, line 355.
I am using Bullet 2.72. Could you please point me into the right direction what I could look after to fix this problem?


Re: Assertion in btQuantizedBvh

Posted: Thu Nov 13, 2008 6:45 pm
by reltham
I've run into this a couple times myself, and in my case it turned out to be bad index/vertex data both times.

First, I had a situation where one of my verts had NANs in it. Second, I had a situation that was changing the vertex data after the bullet object was created and this made the vertices go outside of the aabb.