Public Member Functions | |
| Pursue (AICharacter *ai_ch, NodePath target_object, float pursue_wt) | |
| LVecBase3 | do_pursue () | 
| This function performs the pursue and returns a pursue force which is used in the calculate_prioritized function.  More... | |
Public Attributes | |
| AICharacter * | _ai_char | 
| LVecBase3 | _pursue_direction | 
| bool | _pursue_done | 
| NodePath | _pursue_target | 
| float | _pursue_weight | 
| LVecBase3 Pursue::do_pursue | ( | ) | 
This function performs the pursue and returns a pursue force which is used in the calculate_prioritized function.
In case the target has been reached it resets the forces to 0 so that the character stops. This function is not to be used by the user.
Definition at line 37 of file pursue.cxx.
References NodePath::get_pos().
Referenced by AIBehaviors::calculate_prioritized().
 1.8.15