USharp icon indicating copy to clipboard operation
USharp copied to clipboard

FRandRange error!

Open FJays opened this issue 4 years ago • 0 comments

In file \Managed\UnrealEngine.Runtime\UnrealEngine.Runtime\Core\Math\FMath_UnrealMathUtility.cs

        /// <summary>
        /// Util to generate a random number in a range.
        /// </summary>
        public static float FRandRange(float min, float max)
        {
            return min + (max - min) + FRand();
        }

return min + (max - min) + FRand();

FJays avatar Nov 05 '19 07:11 FJays