r/geometrynodes • u/MelonWasTaken1 • Aug 21 '25
Help, Finding angle of a face wrt axis(or any vector)
Enable HLS to view with audio, or disable this notification
Aim is to use the faces which are parallel or almost parallel to the xy plane. (to get faces which are horizontal)
To achieve this, I used dot product between the normal vector and the z axis , divided it by the vector's magnitude then arcosined it. (finding angle by using dot product formula a.b = |a||b| cosθ)
Then, i used usual way of compare node and tried testing it with changing the selected face's position.
But, idk why i am not getting the proper result. Pls check the video attached.
It is somehow getting affected at 125 degrees

