Panda3D
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()

addDynamicObstacle ( NodePath  obstacle)

◆ addStaticObstacle()

addStaticObstacle ( NodePath  obstacle)

◆ addToPath()

addToPath ( LVecBase3  pos)

◆ arrival()

arrival ( double  distance)

◆ behaviorStatus()

str behaviorStatus ( str  ai_type)

◆ evade()

evade ( NodePath  target_object,
double  panic_distance,
double  relax_distance,
float  evade_wt 
)

◆ flee() [1/2]

flee ( LVecBase3  pos,
double  panic_distance,
double  relax_distance,
float  flee_wt 
)

◆ flee() [2/2]

flee ( NodePath  target_object,
double  panic_distance,
double  relax_distance,
float  flee_wt 
)

◆ flock()

flock ( float  flock_wt)

◆ initPathFind()

initPathFind ( str  navmesh_filename)

should have different function names.

◆ obstacleAvoidance()

obstacleAvoidance ( float  feeler_length)

◆ pathFindTo() [1/2]

pathFindTo ( LVecBase3  pos,
str  type 
)

◆ pathFindTo() [2/2]

pathFindTo ( NodePath  target,
str  type 
)

◆ pathFollow()

pathFollow ( float  follow_wt)

◆ pauseAi()

pauseAi ( str  ai_type)

add for path follow

◆ pursue()

pursue ( NodePath  target_object,
float  pursue_wt 
)

◆ removeAi()

removeAi ( str  ai_type)

add for path follow

◆ resumeAi()

resumeAi ( str  ai_type)

◆ seek() [1/2]

seek ( LVecBase3  pos,
float  seek_wt 
)

◆ seek() [2/2]

seek ( NodePath  target_object,
float  seek_wt 
)

◆ startFollow()

startFollow ( str  type)

◆ wander()

wander ( double  wander_radius,
int  flag,
double  aoe,
float  wander_weight 
)