Skip to content

Index of ContactManifold triangle #992

Answered by jrouwe
SSNTails asked this question in Q&A
Discussion options

You must be logged in to vote

What you want is demo-ed here:

https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/FrictionPerTriangleTest.cpp

You can't get the triangle index (that's lost while optimizing the mesh) but you can assign materials to each triangle.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SSNTails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants