need some info about btManifoldPoint

damienAndre
Posts: 1
Joined: Tue Jan 13, 2009 8:56 am

need some info about btManifoldPoint

Post by damienAndre »

Hello,
I want to use bullet for my phd thesis. i have tested bullet and your lib is Great !!!
So...
I need "just" the collision detection part of Bullet. The collision response have to be compute by myself.
To do this, i tested successfully the method btManifoldPoint::getPositionWorldOnX() and the attribute btManifoldPoint::m_normalWorldOnX.
But i need more info about the contact : the volume of penetration, the geometrical center of this volume etc...

I need volume to simulate smooth contact with a law like F=f(V) with :
- F the force reaction.
- V the volume penetration.

Is it possible (get penetration volume) ?

Another question :
There is a btManifoldPoint::getDistance() method, could you explain (a little) what is this distance ?

My work is to make an "discret element method" software under the GPL license, and i don't want to compute detection collision by myself, it's too complicate !!!

Thank you,
Sorry for my bad english,
Damien.