Hello everyone,
I am trying to understand how the AAS system works, namely what role the 
"routing cache" has in it all.
I tried to understand it first reading the code, but I couldn't accurately make 
what the cache does.
I read through the Quake3 documentation, but still no luck squeezing into my 
head.

Here is the part that really doesn't make any sense to me:
The AAS_GetAreaRoutingCache() function is used to find the route to a certain 
goal.
Inside that function we have the loop that iterates through the "routing cache".
It does a check:
if (cache->travelflags == travelflags) break;
As I understand, the travelflags express what type of area "this" is, right?
Then, based on whether the travelflags ALONE are the same as the we need or 
not, the "cache" node is chosen.
What exactly IS the relationship between the goal and that chosen cache node???
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to