@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule capsule = ex.getCapsule(this);
        capsule.write(radius, "radius", 0.5f);
        capsule.write(height, "height", 0.5f);
        capsule.write(axis, "axis", PhysicsSpace.AXIS_Y);
    }
Creates a new cone collision shape with the given height, radius and default Y axis.

@param radius The radius of the cone in world units.
@param height The height of the cone in world units.
jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/ConeCollisionShape.java