Create flocking behavior
Basic implementation
I'm building a giant mob system, can be close to 300 on screen at a time. Boids drastically slows the project down when more than 100 are moving. Any ideas on performance tweaks? Thanks!
Hey,
yeah I am aware of this issue, and fixing it would require rewriting a significant part of the system. I don't have time to do this at the moment, so this will have to wait until I have time for it sadly :/
In the meantime, the best solution would be to use a different solution, or write your own.
Completely understood, no pressure or worries at all. I'm working on a simple system to takeover main mob movement, but using Boids on cluster groups under ~50 works fantastic. I appreciate your efforts thus far!
Gosh, it works with Particles object if you add object with Boid to it!
Thank you skymen! Great stuff as always!
All of my boids merge together after about a minute. I have tried straight up copying the code, but I cant get them to seperate the way they do in the example project?
Thank you so much! :3
any chance to add collision with solid obiects?
works perfect to create a flock of enemies in my game.
Do you have plans to rewrite this plugin to make it more optimized?
Yes in the future. No date planned however sadly.
Thank you for this. Is there a way to keep the group that is flocking from stacking on top of each other and kind of just squish together in a group?