11class EXPCL_PANDAAI PathFollow {
16 std::vector<LVecBase3> _path;
17 int _curr_path_waypoint;
27 void start(std::string type);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A ClockObject keeps track of elapsed real time and discrete time.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
void do_follow()
This function allows continuous path finding by ai chars.
void start(std::string type)
This function initiates the path follow behavior.
bool check_if_possible()
This function checks if the current positions of the ai char and the target char can be used to gener...
void add_to_path(LVecBase3 pos)
This function adds the positions generated from a pathfind or a simple path follow behavior to the _p...