Bullet coloring triangles

Post Reply
paokakis
Posts: 29
Joined: Mon Jan 04, 2021 10:31 am

Bullet coloring triangles

Post by paokakis »

Hello to the group,

I am using bullet physics together with OpenGL. I am trying to find a way to get the current collided triangle from a mesh in bullet and color it in OpenGL. Is there a way to do that? I noticed this callback "gContactAddedCallback" which is meant to be used for this reason. Anyone has used it successfully with OpenGL?
Post Reply