New answers tagged path-finding
0
votes
Maintaining unit formation while following path
In the situation with no obstacles you could make the entire formation a thing you move, so a 3x4 formation can all move up, down, left, or right if the entire 3x4 formation is able to get to the new ...
2
votes
Maintaining unit formation while following path
Maybe similar to Philipp's point but you could also make a separate object (maybe call it like navigator) and apply your pathfinding algorithm to that. Then you would make it so whenever your ...
12
votes
Maintaining unit formation while following path
My approach would be:
Designate one soldier of the formation "the leader". (this does not necessarily need to be the actual commanding officer of the formation. You can pick any soldier. ...
Top 50 recent answers are included
Related Tags
path-finding × 698algorithm × 137
ai × 128
unity × 108
c# × 68
2d × 56
navmesh × 55
java × 41
grid × 33
c++ × 27
movement × 26
tiles × 24
xna × 22
collision-detection × 20
tilemap × 20
3d × 19
javascript × 19
rts × 19
mathematics × 18
steering-behaviors × 17
graph × 16
performance × 15
procedural-generation × 13
collision-avoidance × 13
game-mechanics × 12