22class EXPCL_PANDAAI Arrival {
28 LVecBase3 _arrival_target_pos;
29 double _arrival_distance;
30 LVecBase3 _arrival_direction;
37 Arrival(
AICharacter *ai_ch,
double distance = 10.0);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void arrival_activate()
This function checks for whether the target is within the arrival distance.
LVecBase3 do_arrival()
This function performs the arrival and returns an arrival force which is used in the calculate_priori...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...