示例#1
0
    public void PerformRotation(Vector2 alignAngle, Vector2 requestDir)
    {
        float angle = Vector2.SignedAngle(alignAngle, requestDir);

        int[] powerChange = AIUtility.CalcPowerChangeForRotation(angle);
        Hull.PerformPowerChange(powerChange[0], powerChange[1]);
    }