Form finding,agent-based simulation.Ant Colony Optimization

grasshopper
unhandled

(Uczlkjq) #1

Hey,guys.i try to simulate ant behavior using physarealm plugin in grasshopper. here i set 9 emitters of agent in a brep and let the agent to find the food that i set in brep.the agent will avoid the obstacle.
but the problem is when I try to get the trail of agent.all these line is disconnected.i guess i need adjust the life span of agent by using birth death setting,like this guy did here
QQ%E6%88%AA%E5%9B%BE20180203130021
QQ%E6%88%AA%E5%9B%BE20180203130039
here is my gh script


Thanks in advance

agent simulation.gh (9.7 KB)
agent simulation.3dm (312.2 KB)