public static Vektor3D determineSpeedVW(Sprite sp)
    {
        Vektor3D vekt = new Vektor3D();
        if(sp.getDirection() == Consts.NORTH)
        {
            vekt.setX(sp.getSpeedInitWalk()/Math.sqrt(2));
            vekt.setY(sp.getSpeedInitWalk()/Math.sqrt(2));
        }
        else if(sp.getDirection() == Consts.EAST)
        {
            vekt.setX(-sp.getSpeedInitWalk()/Math.sqrt(2));
            vekt.setY(sp.getSpeedInitWalk()/Math.sqrt(2));
        }
        else if(sp.getDirection() == Consts.SOUTH)
        {
            vekt.setX(-sp.getSpeedInitWalk()/Math.sqrt(2));
            vekt.setY(-sp.getSpeedInitWalk()/Math.sqrt(2));
        }
        else if(sp.getDirection() == Consts.WEST)
        {
            vekt.setX(sp.getSpeedInitWalk()/Math.sqrt(2));
            vekt.setY(-sp.getSpeedInitWalk()/Math.sqrt(2));
        }
        else if(sp.getDirection() == Consts.NORTHWEST)
        {
            vekt.setX(sp.getSpeedInitWalk());
            vekt.setY(0);
        }
        else if(sp.getDirection() == Consts.NORTHEAST)
        {
            vekt.setX(0);
            vekt.setY(sp.getSpeedInitWalk());
        }
        else if(sp.getDirection() == Consts.SOUTHEAST)
        {
            vekt.setX(-sp.getSpeedInitWalk());
            vekt.setY(0);
        }
        else if(sp.getDirection() == Consts.SOUTHWEST)
        {
            vekt.setX(0);
            vekt.setY(-sp.getSpeedInitWalk());
        }
        return vekt;
    }