@RossKilgariff Glad you like it! And that sounds cool -- I'd love to see what you come up with.
Just as a note, I think I got a bit in the video slightly wrong. In the patrol state, I said each unit steers by a constant amount. There is a steering constant (randomised for each unit), but it's applied as an inverse proportion of the unit's speed, within certain limits. That's not the only way to implement it, but it can give a nice simple swirling effect.
Wow, nice video! I've just begun to program something swarm like and this gives me a lot ideas! Thanks!
barkeg050 7 months ago
Thanks for the video Pete :) I'm going to try to implement this in the shmup I'm working on in my spare time.
RossKilgariff 10 months ago
@RossKilgariff Glad you like it! And that sounds cool -- I'd love to see what you come up with.
Just as a note, I think I got a bit in the video slightly wrong. In the patrol state, I said each unit steers by a constant amount. There is a steering constant (randomised for each unit), but it's applied as an inverse proportion of the unit's speed, within certain limits. That's not the only way to implement it, but it can give a nice simple swirling effect.
ElusivePete 10 months ago