Identify face of raycast intersection on BufferGeometry

Viewed 1595

The intersection object (returned by raycaster.intersectObject()) has face and faceIndex properties. However these properties are null if the intersected object is a BufferGeometry. On the other hand the point property works as expected.

Is there any way to determine which face of the BufferGeometry was hit? There is obviously no faces array in BufferGeometry but knowing (for example) the indices of points in position attribute defining the hit face would be great help.

(I can certainly use some math since I know the coordinates of all the points, but that would kill my performance on large geometry)

1 Answers
Related