I've not looked into this test for a while, and I'm a bit too busy to digg into this right now. At some stage when we implement unit tests, the enter/inside/leave would be a good test to include.
See
http://code.google.com/p/bullet/issues/detail?id=384
You might want to stick to your own workaround for now,
Thanks,
Erwin
I think you got me wrong, sorry. I'll start again.
My problem:
I need to know when ghost or rigidbody collisions are new, currently touching, or have stopped touching. (Enter/Inside/Leave Callbacks...)
Fact:
I have read in the forum from official sources that the life time variable (m_lifeTime) of the contact manifold point could be used to know this.
Test:
I have found that using this variable like mentioned does not offer a final solution cause:
1) Rigid bodies when colliding can stay in m_lifeTime = 1 for several frames. (note I would just need the first)
2) Ghosts with disabled collision response can make this m_lifeTime = 1 when entering and when leaving the collision.
Question:
Does bullet provide additional information that can be used to know whether these objects have truly started/kept/stopped touching, or do I need to keep track of this my self like mentioned before with a list or something?
Thanks again Erwin.
P.D.: If you didn't get me wrong please excuse me, I didn't know why the unit testing had to do with this, are you working to solve this of future versions, maybe?
