given a ARMeshAnchor 'meshAnchor', i can retrieve its geometry and faces :
let geometry = meshAnchor.geometry
let faces = geometry.faces
var i = Int(0)
while i < faces.count
{
//??? get the normal of faces[i]
i = i+1
}
how can I retrieve the normal in world coordinates of faces[i] ?
Is there 1 normal per face ? per vertex of each triangle ? or per each vertex of the mesh ?
According to Apple : https://developer.apple.com/documentation/arkit/armeshgeometry/3516923-normals
var normals: ARGeometrySource { get }
= Rays that define which direction is outside for each face