Just want to confirm (there isn’t a Javadoc comment yet) -

CollisionResult closest = results.getClosestCollision();

int collTri = closest.getTriangleIndex();

collTri will contain the triangle index for that particular mesh (which was collided with), and not some global index or id relative to all triangles displayed on the screen, correct?


Very cool - this is the 4th 3d engine I’ve used across 3 different languages, and (apparently from what I’ve experienced, and been told) such a simple thing is not always so simple to obtain when using a single mesh/shape/geometry/(etc) like I am here. Good job!