~rebel/horde3d/trunk

« back to all changes in this revision

Viewing changes to trunk/Tools/GameEngine/src/GameDetourCrowdComponent/DetourCrowdManager.cpp

  • Committer: felix
  • Date: 2015-07-07 12:57:07 UTC
  • Revision ID: svn-v4:5ce291ac-9df0-446f-9e4f-d57731c4dda7::1699
- Updated RecastNavigation to latest version and fixed multiple issues.
- Adapted GameDetourComponent, GameDetourCrowdComponent, DetourCrowdDemo and AAA accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
                
110
110
        // Make polygons with 'disabled' flag invalid.
111
111
        //! TODO - let user define
112
 
        crowd->getEditableFilter()->setExcludeFlags(0x02); // No swimming.
 
112
        crowd->getEditableFilter(0)->setExcludeFlags(0x02 | 0x10); // No swimming and avoidance of disabled polygons
113
113
                
114
114
        // Setup local avoidance params to different qualities.
115
115
        dtObstacleAvoidanceParams params;