Thanks TheJamsh, I’ve been using Quaternions in BP already though. LookAtRotation causes gimble lock for what I’m doing. I’m averaging normals. The only thing I cant do in Blueprints is the Quaterniun.LookRotation. I come from c# and am learning c++. I just need to know how the .cpp should look. I think I can handle the header.
My code in c# looks like this. Works well, useless in c++. lol
q = Quaternion.Slerp(normal1, normal2, 0.5f);
normalAverage = q * Vector3.up;
//Hit 1
normal1 = Quaternion.LookRotation(Vector3.ProjectOnPlane(transform.forward, hit.normal), hit.normal);
//Hit 2
normal2 = Quaternion.LookRotation(Vector3.ProjectOnPlane(transform.forward, hit.normal), hit.normal);