Advertisement

rts unit steering

Started by September 11, 2009 06:25 PM
0 comments, last by Emergent 15 years, 2 months ago
Hi, I'm working on a rts (space based), so i don't have a need of pathfinding. I just move the units to the target, and that's it. However, i need a way, that units don't fly trough each other, some way for them to avoid each other. For example, if i choose a group of 4 ships, to attack a target, they all move to the same target, and as obviously the target is the same, they end up in the same position., i can say to a ship to stop moving if there is one in front of her, but this looks bad as they will all start making a line torwards the target I think steering is what i need, but i'm not sure. Does anyone know any resources that i could take a look and read for ideas ? thanks, Bruno
The standard reference on steering behaviors is here. That said, my personal choice would be to use potential functions (plus some "vortices") for this; I've seen them used to good effect.

This topic is closed to new replies.

Advertisement