Brackeys video: Sinewaves
xx
double phi = Mathf.pi/2; double r = 5.0f; Vector2 vec = new Vector2( r * Mathf.Cos(phi), r * Mathf.Sin(phi) );
Vector2 vec = new Vector2(4.0f, 2,0f); double r = vec.Magnitude; double phi = Mathf.Atan2(vec.y, vec.x);