calculating with the direction and angle works, calculating

IT doesnt