14 #ifndef _AICHARACTER_H 15 #define _AICHARACTER_H 34 LVecBase3 _steering_force;
37 unsigned int _ai_char_flock_id;
45 void set_velocity(LVecBase3 vel);
46 void set_char_render(
NodePath render);
51 void set_mass(
double m);
53 LVecBase3 get_velocity();
55 double get_max_force();
56 void set_max_force(
double max_force);
64 void set_pf_guide(
bool pf_guide);
66 explicit AICharacter(std::string model_name,
NodePath model_np,
double mass,
double movt_force,
double max_force);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class implements all the steering behaviors of the AI framework, such as seek, flee, pursue, evade, wander and flock.
A class that implements the virtual AI world which keeps track of the AI characters active at any giv...
A base class for all things that want to be reference-counted.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...