Hi Carlo,
I'm currently trying to dynamically add robots to the simulation in the loop functions, and have gotten stuck. I see the provided AddEntity() function, which is what I need to call I think, but I am not sure how to create the robot entity and associate a controller with it. Here is what I have so far:
1. Create a CFootBotEntity via new
2. Call the created entity's Init() function, passing an appropriate XML tree tag
3. Call CLoopFunctions.GetSpace().AddControllableEntity(entity) with the initialized entity--or should I just call AddEntity()? Does it matter?
What am I missing?
Thanks!