private void avoidBullet() {       
        InfoDetail bullet = this.findClosestObject(this.bullets_in_radius);
        this.evading = true;
        if(bullet != null) {
            if(this.evade_from == null || bullet.getDirection() != this.evade_from.getDirection()) {
                int rdirx = (this.randomizer.nextBoolean()) ? 1 : -1;
                int rdiry = (rdirx == 1) ? -1 : 1;
                
                Point2D.Float evade_vec = this.getVectorFromAngle(bullet.getDirection());
                
                float temp = evade_vec.x;
                evade_vec.x = evade_vec.y*rdirx;
                evade_vec.y = temp*rdiry;
                this.evade_from = bullet;
                this.adjust_evading = true;
                angle = 360 + this.getAngleFromVector(direction_vector) - this.getAngleFromVector(evade_vec);
            }
        }   
    }