The function stopped working in the experimental branch SampleNavmeshPosition.
If you write zero to the PGFilter, the server will start, but when you try to call this function, the server crashes.
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 7
- Category
- General
Event Timeline
Comment Actions
why do you write zero? if you need to use so
AIWorld world = GetGame().GetWorld().GetAIWorld();
if(world) { PGFilter m_pgFilter = new PGFilter(); world.SampleNavmeshPosition(pos,0.5,m_pgFilter,pos) }
and don't forget about SetCost and SetFlags