|
Hi, I want to create a city with some NPCs walking around between the buildings. How can I create a random movement for the NPCs? Thanks
(comments are locked)
|
|
You might want to look into pathfinding solutions. There are already a number of answers on this site which discuss various pathfinding implementations, such as this one: If you have more specific questions that are particular to your implementation, come back and ask!
(comments are locked)
|
|
A simple approach would be:
(comments are locked)
|
