A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
oh ok movement = Mathf.Sin(direction * Mathf.Deg2Rad); I realized that my direction was in degrees (along with the rigidbody 2d "rotation") so I...
Ok figured this out! thanks for the reply, apparently I'm stupid or something idk :p
So I've been trying that. this is what I had to get the degree answer for sin 180 (which should be 0) movement = Mathf.Sin(180 * Mathf.Rad2Deg);...
Unity does Sin Cos etc in radians, how can I get a degree result for something like Mathf.sin(direction) Thanks