Public Member Functions | |
| Wander (AICharacter *ai_ch, double wander_radius, int flag, double aoe, float wander_weight) | |
| LVecBase3 | do_wander () |
| This function performs the wander and returns the wander force which is used in the calculate_prioritized function. More... | |
Public Attributes | |
| AICharacter * | _ai_char |
| double | _area_of_effect |
| int | _flag |
| LVecBase3 | _init_pos |
| double | _wander_radius |
| LVecBase3 | _wander_target |
| float | _wander_weight |
| LVecBase3 Wander::do_wander | ( | ) |
This function performs the wander and returns the wander force which is used in the calculate_prioritized function.
This function is not to be used by the user.
Definition at line 76 of file wander.cxx.
References NodePath::get_pos(), and random_clamped().
Referenced by AIBehaviors::calculate_prioritized().
1.8.15