public static float nextRandomFloat() {
        return rand.nextFloat();
    }
Generates a pseudorandom {@code float} in the range [0.0, 1.0).

@return A random {@code float} value.
jme3-core/src/main/java/com/jme3/math/FastMath.java