| ▲ | embedding-shape 2 hours ago | ||||||||||||||||||||||
> I don't see why units need pathfinding anyway. I'm sorry but huh? It's a RTS game, aren't moving units around on the map kind of a fundamental part of the genre and this game? > Realistically soldiers should head in the right compass direction and hope for the best If you implement unit movements in a RTS like this, they'll get stuck half the time you ask them to move anywhere, unless you want micromanagement of unit movement to be 90% of the game, which I don't think anyone would find fun. | |||||||||||||||||||||||
| ▲ | card_zero an hour ago | parent [-] | ||||||||||||||||||||||
Yes, but if you were that unit, would you get stuck in a corner, or would you persist in trying to find your destination? I suppose if you make it all the way to the target, you've accomplished pathfinding of some kind, by definition, sure. But an algorithm to avoid getting stuck doesn't have to be "pathfinding" as in an expensive algorithm to find a complete path right away. | |||||||||||||||||||||||
| |||||||||||||||||||||||