Evade Class Reference
#include <evade.h>
List of all members.
Detailed Description
Definition at line 23 of file evade.h.
Constructor & Destructor Documentation
Evade::Evade |
( |
AICharacter * |
ai_ch, |
|
|
NodePath |
target_object, |
|
|
double |
panic_distance, |
|
|
double |
relax_distance, |
|
|
float |
evade_wt | |
|
) |
| | |
Filename : evade.cxx Created by : Deepak, John, Navin Date : 24 Oct 09
PANDA3D SOFTWARE Copyright(c) Carnegie Mellon University. All rights reserved.
All use of this software is subjest to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE"
Definition at line 17 of file evade.cxx.
Member Function Documentation
LVecBase3f Evade::do_evade |
( |
|
) |
|
Function : do_evade Description : This function performs the evade and returns an evade force which is used in the calculate_prioritized function. In case the AICharacter is past the (panic + relax) distance, it resets to evade_activate. This function is not to be used by the user.
Definition at line 44 of file evade.cxx.
void Evade::evade_activate |
( |
|
) |
|
Function : evade_activate Description : This function checks for whether the target is within the panic distance. When this is true, it calls the do_evade function and sets the evade direction. This function is not to be used by the user.
Definition at line 77 of file evade.cxx.
Member Data Documentation
The documentation for this class was generated from the following files:
- U:/jkolench/Desktop/PandAI_v0.5_source/evade.h
- U:/jkolench/Desktop/PandAI_v0.5_source/evade.cxx