Identify face of a cube hit on touches began in Swift – SceneKit
faceIndex looks promising, but will not actually get something you’re likely to consider useful. The “faces” counted by that property are the tessellation of the mesh, so a cube won’t be a collection of six quads, it’ll be twelve triangles. (Or more: in some cases, even a flat-sided cube will be tessellated with more than … Read more