Bullet coloring triangles
Posted: Tue Feb 01, 2022 12:26 pm
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?
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?