Greetings Blueboy and other Bot Developers,
I've been a fan of this work for some time now and am fascinated with what has been accomplished in the solution over the past few years. I was thinking about developing a relative position controller as an academic excercise (Im currently in grad school studying controls), and figured this could be interesting with a squadron of bots. This would probably be more useful in non combat situations when the team is dungeon crawling or navigating a road and could prevent the pile up resulting from all bots tracking an equivalent follow the master command.
For such a real time algorithm, it looks like everthing is in place... master xyz position, bot xyz position, and a 1 hz time update rate with the p_time variable? Also it looks like the mbot relocate command can be used for positioning... what do you think.
Enthusiastic to make a contribution!
Sincerely,
Bramm
<relevant code snippet>
/ This is called from Unit.cpp and is called every second (I think)
void UpdateAI(const uint32 p_time
float x, y, z; pTarget->GetContactPoint(m_bot, x, y, z, 3.666666f);
m_bot->Relocate(x, y, z);
<\\relevant code snippet>