public Player(Vector3f position) {

        if(mesh == null)
        {
            Vertex[] vertices = new Vertex[]{new Vertex(new Vector3f(-SIZEX,START,START), new Vector2f(0.1f,0.1f)),
                    new Vertex(new Vector3f(-SIZEX,SIZEY,START), new Vector2f(0.1f,0.1f)),
                    new Vertex(new Vector3f(SIZEX,SIZEY,START), new Vector2f(0.1f,0.1f)),
                    new Vertex(new Vector3f(SIZEX,START,START), new Vector2f(0.1f,0.1f))};

            int[] indices = new int[]{0,1,2,
                                      0,2,3};

            mesh = new Mesh(vertices, indices);
        }

        if(gunMaterial == null)
        {
            gunMaterial = new Material(new Texture("PISGB0.png"));
        }

        camera = new Camera(position, new Vector3f(0, 0, 1), new Vector3f(0, 1, 0));
        this.random = new Random();

        		gunTransform = new Transform();
        		gunTransform.setTranslation(new Vector3f(8,0,9));
        movementVector = zeroVector;
        this.health = MAX_HEALTH;
    }