#include <pursue.h>
Public Member Functions | |
Pursue (AICharacter *ai_ch, NodePath target_object, float pursue_wt) | |
~Pursue () | |
LVecBase3f | do_pursue () |
Public Attributes | |
AICharacter * | _ai_char |
NodePath | _pursue_target |
float | _pursue_weight |
LVecBase3f | _pursue_direction |
bool | _pursue_done |
Definition at line 23 of file pursue.h.
Pursue::Pursue | ( | AICharacter * | ai_ch, | |
NodePath | target_object, | |||
float | pursue_wt | |||
) |
Filename : pursue.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 pursue.cxx.
Pursue::~Pursue | ( | ) |
Definition at line 26 of file pursue.cxx.
LVecBase3f Pursue::do_pursue | ( | ) |
Function : do_pursue Description : 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 39 of file pursue.cxx.
LVecBase3f Pursue::_pursue_direction |
bool Pursue::_pursue_done |
NodePath Pursue::_pursue_target |
float Pursue::_pursue_weight |