4 ms·
Isn’t the standard solution there to pick one of the horses to do the full path while telling the others “try to move along this path, if not possible then as c
by otikik 3y ago
Isn’t the standard solution there to pick one of the horses to do the full path while telling the others “try to move along this path, if not possible then as close as possible, otherwise in the average direction of this group of horses” or something similar?
- helloplanets 3y agoYeah, I'd imagine you'd always split this into two separate problems of pathfinding and crowd simulation. Making thousands of separate calls to a pathfinding algorithm that returns the same path (or very close to it) would be mayhem for a game like Total War. Would be super interesting to read through some of the original source for that from Total War. Short video on a basic sort of crowd simulation would work in Unity: https://learn.unity.com/tutorial/moving-as-one https://learn.unity.com/tutorial/moving-as-one