Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | List of all members
AIBehaviors Class Reference

Public Member Functions

 addDynamicObstacle (NodePath obstacle)
 
 addStaticObstacle (NodePath obstacle)
 
 addToPath (LVecBase3 pos)
 
 arrival (double distance)
 
str behaviorStatus (str ai_type)
 
 evade (NodePath target_object, double panic_distance, double relax_distance, float evade_wt)
 
 flee (LVecBase3 pos, double panic_distance, double relax_distance, float flee_wt)
 
 flee (NodePath target_object, double panic_distance, double relax_distance, float flee_wt)
 
 flock (float flock_wt)
 
 initPathFind (str navmesh_filename)
 should have different function names. More...
 
 obstacleAvoidance (float feeler_length)
 
 pathFindTo (LVecBase3 pos, str type)
 
 pathFindTo (NodePath target, str type)
 
 pathFollow (float follow_wt)
 
 pauseAi (str ai_type)
 add for path follow More...
 
 pursue (NodePath target_object, float pursue_wt)
 
 removeAi (str ai_type)
 add for path follow More...
 
 resumeAi (str ai_type)
 
 seek (LVecBase3 pos, float seek_wt)
 
 seek (NodePath target_object, float seek_wt)
 
 startFollow (str type)
 
 wander (double wander_radius, int flag, double aoe, float wander_weight)
 

Member Function Documentation

addDynamicObstacle ( NodePath  obstacle)
addStaticObstacle ( NodePath  obstacle)
addToPath ( LVecBase3  pos)
arrival ( double  distance)
str behaviorStatus ( str  ai_type)
evade ( NodePath  target_object,
double  panic_distance,
double  relax_distance,
float  evade_wt 
)
flee ( LVecBase3  pos,
double  panic_distance,
double  relax_distance,
float  flee_wt 
)
flee ( NodePath  target_object,
double  panic_distance,
double  relax_distance,
float  flee_wt 
)
flock ( float  flock_wt)
initPathFind ( str  navmesh_filename)

should have different function names.

obstacleAvoidance ( float  feeler_length)
pathFindTo ( LVecBase3  pos,
str  type 
)
pathFindTo ( NodePath  target,
str  type 
)
pathFollow ( float  follow_wt)
pauseAi ( str  ai_type)

add for path follow

pursue ( NodePath  target_object,
float  pursue_wt 
)
removeAi ( str  ai_type)

add for path follow

resumeAi ( str  ai_type)
seek ( LVecBase3  pos,
float  seek_wt 
)
seek ( NodePath  target_object,
float  seek_wt 
)
startFollow ( str  type)
wander ( double  wander_radius,
int  flag,
double  aoe,
float  wander_weight 
)