How would you make the passage from one point to another in a random way?

Godot Version

4.*

Question

How would you make the passage from one point to another in a random way?

give more information to what you meant by passage and one point

Look, there is a game brotato, and there the mobs spawn around, and start running chaotically to main character, so I’d like to do something like that

which mob from brotato is running randomly? what i’ve seen most of the mob has a constant speed running towards the player, for that it basically only need to move the enemy towards player current location/position. i noticed a few mobs that have unique run towards player, they stop and charge then plunge towards the player. that’s all that but i dont see it run at random path then comeback to player.

need to know what you meant by running chaotically

Forget it, I’ve solved it already, thanks, and yes you’re right there’s no randoms in movement

did you use navigationpath2d?

No, I just used path2 path2follow because I was getting objects stuck in the navigation, I don’t know what the problem was ( maybe the sharp corners, but I couldn’t make them round )