public static float LengthDirX(float Length, float Direction) { return (float)Math.Cos(MathHelper.ToRadians(Direction)) * Length; } public static float LengthDirY(float Length, float Direction)