Is there a way to access
1) path traversability map (F2 shows this map)
2) groundBlockingObjectMap (also useful for finding build site)
through AI interface? I'd like to not recreate maps that engine already has.
I want to implement some terrain analyzer and at the moment i'm re-writing path traversability map within AI but stuck with new bugs or missing functions/data. According to path traversability texture i need to calc slope speed modifier. But MoveData::GetDepthMod is outdated and doesn't take height parameter, in fact it returns linear coefficient instead of quadratic calculation. I can submit pull-request to fix MoveData::GetDepthMod but it may break legacy depthMod as it relies on function from new interface.
How to access path traversability and blocking maps?
Moderators: hoijui, Moderators
Re: How to access path traversability and blocking maps?
Judging by how the other AI's who play with their own pathfinder do it, you'll have to generate the info from slopes on your own.
No idea about the depthmod issue, though.
No idea about the depthmod issue, though.