#I am trying to generate random values here

10 messages · Page 1 of 1 (latest)

burnt sage
#

Please I need help.....I am using Godot 3.6Rc1 and I am trying to generate random values but it keeps giving me the same random value it generated even though I used randomize() how can I fix this?

spiral linden
#

I had this issue yesterday

#

You should show your relevant code

#

this was all I had to do:

var rng = RandomNumberGenerator.new()
rng.randomize()
burnt sage
#

Okay thanks, I saw this too

burnt sage
#

I ran into a problem

#

How can I get the value from the rng object into a Vector2?

#

Thanks I have already fixed it

#

I just had to do.....

var myxvariable = rng.randi_range(0,1000);

spiral linden