Page 1 of 1

Custom collision dispatching (triangle triangle collision)

Posted: Tue Dec 12, 2017 3:57 pm
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.