Page 1 of 1

Getting the `CCI_Controller` derived instances

Posted: Tue Nov 17, 2020 2:05 pm
by MartinKri
Through GetSpace().GetEntitiesByType("foot-bot"), I can obtain the objects of my foot-bots in my simulation.

For my bots, I have defined my controller, which derives from `CCI_Controller`. Is there a way for me to obtain all the controller objects for the robots?

Thank you in advance,
- Martin Kristjansen

Re: Getting the `CCI_Controller` derived instances

Posted: Tue Nov 17, 2020 3:04 pm
by pincy
Have you checked the foraging example?

Re: Getting the `CCI_Controller` derived instances

Posted: Mon Dec 07, 2020 3:49 pm
by MartinKri
No, I had not.

It seems it has what I need. Thanks!
- Martin kristjansen