PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "aiPathFinder.h"
Go to the source code of this file.
Functions | |
Node * | find_in_mesh (NavMesh nav_mesh, LVecBase3 pos, int grid_size) |
This function allows the user to pass a position and it returns the corresponding node on the navigation mesh. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file aiPathFinder.cxx.
Node* find_in_mesh | ( | NavMesh | nav_mesh, |
LVecBase3 | pos, | ||
int | grid_size | ||
) |
This function allows the user to pass a position and it returns the corresponding node on the navigation mesh.
A very useful function as it allows for dynamic updation of the mesh based on position.
Definition at line 336 of file aiPathFinder.cxx.
Referenced by PathFollow::check_if_possible(), and PathFind::path_find().