Random actuator not working in UPBGE 0.2.5

Hello BA ,
i am trying to figure out why the random actuator isn’t working for me , it just picks a number once then it keeps selecting that first number even if i stopped the game and restarted it , the value changes only when i leave the file and reopen it !?!! it works fine with regular blender ( i tested with blender 2.79b ) but doesn’t work with UPBGEv0.2.5a-b2.79Windows64-modified-Rev5.7z which is the version i am using
thank you .

1 Like

You will need to add another thing to the random number generator to make it seem more random… something like when the character is near the object start the random number generator.

2 Likes

This logic works in 2.79 but in UPBGE it doesn’t

I know , but i am aiming to start the random generator only at the start of the game , and it will generate once too … i am struggled :disappointed:

1 Like