Hello everyone,
when i do raycastHit on a flat surface rotated 45 degrees hit.normal.y shouldn’t it be 0.5? Instead it gives me 0.5 with a surface rotated 60 degrees.
Thanks to anyone who gives me a clarification.
–Edit: Sine and cosine!
Hello everyone,
when i do raycastHit on a flat surface rotated 45 degrees hit.normal.y shouldn’t it be 0.5? Instead it gives me 0.5 with a surface rotated 60 degrees.
Thanks to anyone who gives me a clarification.
–Edit: Sine and cosine!