Is there an equivalent of randi()
, randf()
or rand_range()
in Godot's shading language? There aren't any built-in functions that I know that allow me to generate random numbers.
If there aren't any, how can I generate a pseudo-random number using TIME
? Thanks.