Assertion in btQuantizedBvh

Post Reply
hearsedriver
Posts: 10
Joined: Thu Nov 06, 2008 8:19 pm

Assertion in btQuantizedBvh

Post 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?

hd
reltham
Posts: 66
Joined: Fri Oct 12, 2007 6:28 pm
Location: San Diego

Re: Assertion in btQuantizedBvh

Post 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.
Post Reply