| ▲ | card_zero 3 hours ago | |||||||||||||||||||||||||||||||
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. | ||||||||||||||||||||||||||||||||
| ▲ | embedding-shape 2 hours ago | parent [-] | |||||||||||||||||||||||||||||||
Well, depending on how you implement it, there might not be any way of getting unstuck, imagine a wall that is 3/4 circle for example, with a small opening, could it escape with that sort of naive algorithm? Players tend to be kind of sensitive to "stupid unit movements", and not having pathfinding is a great way of triggering that feeling in every play session. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||