URGENT - btSoftBody face tree changes between steps

elethiomel
Posts: 10
Joined: Wed Oct 27, 2010 11:05 pm

URGENT - btSoftBody face tree changes between steps

Post by elethiomel »

Hi guys. I'm working hard on a paper for SCA2011 and I'm having a problem with btSoftbody's face tree. Basically I have added a custom tag to the btDbvtNode. I need that tag to stay in the same place in the tree throughout the run of the code.


Between steps of the physics engine, the tree is reordered somehow. I can see that the pointers change between steps, but I can't see where. I've disabled the call to m_fdbvt.optimizeIncremental(1) in void btSoftBody::predictMotion(btScalar dt) so that's not it.

Any help most appreciated. We have a deadline in 4 hours we're trying to run experiments for and this is ruining everything :(