Jump to content

Recommended Posts

Hi @Droidz

can you explain how PathFinder.ReportDangerArea and PathFinder.ReportBigDangerArea are different?
From what I understand, ReportNormalArea reports it as safe again, so the pathfinder can once again use the path safely. 

But how are DangerArea and BigDangerArea different? You always enter a radius anyway.
Both DangerAreas are considered when doing corpse runs (maybe unnecessary?).

Edited by Matenia
Link to comment
https://wrobot.eu/forums/topic/8242-pathfinder-reportarea-explanation/
Share on other sites

Hello,

The cost change (http://masagroup.github.io/recastdetour/classdtQueryFilter.html#details

m_filter->setAreaCost((int)PolyArea::POLYAREA_GROUND, 1.0f);
m_filter->setAreaCost((int)PolyArea::POLYAREA_DANGER, 2.0f);
m_filter->setAreaCost((int)PolyArea::POLYAREA_BIGDANGER, 15.0f);

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...