rust-ants-colony-simulation
rust-ants-colony-simulation copied to clipboard
Feature request: Variable speeds
I've noticed that the ants seem to be moving at a constant speed and seem to turn at a constant speed too. Is that right? I think that might be what's preventing the trail from simplifying more quickly.
I'm not sure how ants do it in real life, so feel free to close this if it's not realistic
Hey, thanks for raising the issue :)
Yes, the ants are technically supposed to join a path once they find them, but due to the way forces are implemented, they overshoot, I couldn't fix this due to time constraints
Yes the speed of the ants is constant for now. Can u explain what you mean by Variable speeds, you mean when making a turn reduce the speed of the ant so that it doesn't overshoot?
Yup, that's right!
Well the next question would be how to detect when to slow down the ants?
Also I found a really good tutorial sometime ago (https://www.youtube.com/watch?v=rlZYT-uvmGQ) that describes the same behaviour. I'll try and spend some time to integrate either variable speed or follow this tutorial