My world falls apart when math isn't logical..

My calculator: cos(0)=1 cos(90)=1
Unity Engine: cos(0)=1 cos(90)=-0.4480736

My world is broken – TheNoobieWaffle 11:56PM EST 11/7/2014

Can someone explain to me why this is? All I want is a cosine is 90 to equal 0… Thats all Ive ever really wanted.

Maybe you should convert to degrees, then, rather than using radians. By the way, cos(90) will never equal 1. I assume you used sin(90). Lesson: math is always logical.

–Eric

Don’t worry, you’re not the first to be caught by the whole units thing Nov. 10, 1999: Metric Math Mistake Muffed Mars Meteorology Mission | WIRED

You can see that Google agrees with Unity.

As a fan of mathematics, I have to agree. <3 radians

Damn in my post I said cos(90)=1, by bad, it equals 0.

Thanks for the support with Deg2Rad, Ill go try that out.