Hi Away3D Pro's

I'm trying to calculate the angle of a group of faces in a mesh.
Away3d exposes the normals of each face so i know these. I've found
through trawling the web that you can calculate the angle of the face
by calulating the arccos from the dot product of the face normal and
the up vector. Is this correct?

My up vector is 0,0,0 and I know my face is 60 degrees (as I know the
mesh I'm working with at the moment) but the arccos of the dot product
between the face normal and the up vector is coming out at 90 degrees.

Am I doing this correctly? Any help would be much appreciated.

Thanks

Reply via email to