Topic was automatically imported from the old Question2Answer platform.
Asked By
CatRass
I want to add a roomba to my game that randomly moves around, but I’m not sure how to do that, since all the AI movement tutorials require an end position, but since I just want it to move around randomly, there is no end position.
you need to generate a random vector for the end position, and then when it gets there, generate another random vector.
Millard | 2020-06-24 02:59
Why not setting a random endpoint, if the last point was reached?
whiteshampoo | 2020-06-24 07:01
that’s what i mean by random vector. (unless i’m misunderstanding the term endpoint.)