Custom collision dispatching (triangle triangle collision)

Shehan
Posts: 2
Joined: Tue Dec 12, 2017 3:11 pm

Custom collision dispatching (triangle triangle collision)

Post by Shehan »

I'm trying to add my own collision algo for custom created mesh ( btGImpactMeshShapes ),
In there i want to know dispatching parameters of addContactPoint method w.r.t to two triangles

btManifoldResult* resultOut;
resultOut -> addContactPoint( normal, point, distance )


In this method I want to know normal ,point and distance parameters considering two colliding triangles.