AICharacter Class Reference

#include <aiCharacter.h>

Collaboration diagram for AICharacter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void update ()
void set_velocity (LVecBase3f vel)
void set_char_render (NodePath render)
NodePath get_char_render ()
void set_mass (double m)
LVecBase3f get_velocity ()
double get_max_force ()
void set_max_force (double max_force)
NodePath get_node_path ()
void set_node_path (NodePath np)
AIBehaviorsget_ai_behaviors ()
void set_pf_guide (bool pf_guide)
 AICharacter (string model_name, NodePath model_np, double mass, double movt_force, double max_force)
 ~AICharacter ()

Public Attributes

double _mass
double _max_force
LVecBase3f _velocity
LVecBase3f _steering_force
string _name
double _movt_force
unsigned int _ai_char_flock_id
AIWorld_world
AIBehaviors_steering
NodePath _window_render
NodePath _ai_char_np
bool _pf_guide
PUBLISHED __pad0__: double get_mass()

Detailed Description

Definition at line 38 of file aiCharacter.h.


Constructor & Destructor Documentation

AICharacter::AICharacter ( string  model_name,
NodePath  model_np,
double  mass,
double  movt_force,
double  max_force 
)

Filename : aiCharacter.cxx Created by : Deepak, John, Navin Date : 8 Sep 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 aiCharacter.cxx.

AICharacter::~AICharacter (  ) 

Definition at line 34 of file aiCharacter.cxx.


Member Function Documentation

AIBehaviors * AICharacter::get_ai_behaviors (  ) 

Definition at line 114 of file aiCharacter.cxx.

Here is the caller graph for this function:

NodePath AICharacter::get_char_render (  ) 

Definition at line 122 of file aiCharacter.cxx.

Here is the caller graph for this function:

double AICharacter::get_max_force (  ) 

Definition at line 98 of file aiCharacter.cxx.

Here is the caller graph for this function:

NodePath AICharacter::get_node_path (  ) 

Definition at line 106 of file aiCharacter.cxx.

Here is the caller graph for this function:

LVecBase3f AICharacter::get_velocity (  ) 

Definition at line 82 of file aiCharacter.cxx.

Here is the caller graph for this function:

void AICharacter::set_char_render ( NodePath  render  ) 

Definition at line 118 of file aiCharacter.cxx.

void AICharacter::set_mass ( double  m  ) 

Definition at line 94 of file aiCharacter.cxx.

void AICharacter::set_max_force ( double  max_force  ) 

Definition at line 102 of file aiCharacter.cxx.

void AICharacter::set_node_path ( NodePath  np  ) 

Definition at line 110 of file aiCharacter.cxx.

void AICharacter::set_pf_guide ( bool  pf_guide  ) 

Definition at line 126 of file aiCharacter.cxx.

void AICharacter::set_velocity ( LVecBase3f  vel  ) 

Definition at line 86 of file aiCharacter.cxx.

void AICharacter::update (  ) 

Function : update Description : Each character's update will update its ai and physics based on his resultant steering force. This also makes the character look at the direction of the force.

Definition at line 46 of file aiCharacter.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 59 of file aiCharacter.h.

Definition at line 46 of file aiCharacter.h.

Definition at line 50 of file aiCharacter.h.

Definition at line 40 of file aiCharacter.h.

Definition at line 41 of file aiCharacter.h.

Definition at line 45 of file aiCharacter.h.

Definition at line 44 of file aiCharacter.h.

Definition at line 51 of file aiCharacter.h.

Definition at line 48 of file aiCharacter.h.

Definition at line 43 of file aiCharacter.h.

Definition at line 42 of file aiCharacter.h.

Definition at line 49 of file aiCharacter.h.

Definition at line 47 of file aiCharacter.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Dec 8 01:13:07 2009 for Pandai by  doxygen 1.6.1