There is a part of the script:
why face.normal != n? I thought tfObj.GetClosestNormal finds closest face in that mesh and returns normal of it? If not, can someone explain what normal it does return?
Code:
tfObj o = objects[0];
Point3 p = tf.GetPos(sInx);
Point3 n = o.GetClosestNormal(p);
tfFace face = o.GetClosestFace(p);
why face.normal != n? I thought tfObj.GetClosestNormal finds closest face in that mesh and returns normal of it? If not, can someone explain what normal it does return?