Hi guys, im trying to set the rotation of a mesh to the direction of the normal of the ground(also a mesh). I managed to get the normal angle, but it only gets positive numbers.
Here is an image to ilustrate my problem:
First angle is correct, it is 45. But the second it spits out 45, when i should get (if i did it right jaja) -45.
This is how im getting the normal:
How can i fix this problem?
Thanks!