@Override
    public int collideWith(Collidable other) {
        if (other instanceof Ray) {
            Ray ray = (Ray) other;
            return collideWithRay(ray);
        } else if (other instanceof Triangle) {
            return super.collideWith(other);
        } else if (other instanceof BoundingVolume) {
            return intersects((BoundingVolume) other) ? 1 : 0;
        } else {
            throw new UnsupportedCollisionException();
        }
    }
<code>toString</code> returns the string representation of this object.
The form is: "Radius: RRR.SSSS Center: vector".

@return the string representation of this.
jme3-core/src/main/java/com/jme3/bounding/BoundingSphere.java