#include <aiCharacter.h>
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) |
AIBehaviors * | get_ai_behaviors () |
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 |
AIBehaviors * | _steering |
NodePath | _window_render |
NodePath | _ai_char_np |
PUBLISHED | __pad0__: double get_mass() |
Definition at line 37 of file aiCharacter.h.
AICharacter::AICharacter | ( | string | model_name, | |
NodePath | model_np, | |||
double | mass, | |||
double | movt_force, | |||
double | max_force | |||
) |
AICharacter::~AICharacter | ( | ) |
AIBehaviors* AICharacter::get_ai_behaviors | ( | ) |
NodePath AICharacter::get_char_render | ( | ) |
double AICharacter::get_max_force | ( | ) |
NodePath AICharacter::get_node_path | ( | ) |
LVecBase3f AICharacter::get_velocity | ( | ) |
void AICharacter::set_char_render | ( | NodePath | render | ) |
void AICharacter::set_mass | ( | double | m | ) |
void AICharacter::set_max_force | ( | double | max_force | ) |
void AICharacter::set_node_path | ( | NodePath | np | ) |
void AICharacter::set_velocity | ( | LVecBase3f | vel | ) |
void AICharacter::update | ( | ) |
PUBLISHED AICharacter::__pad0__ |
Definition at line 56 of file aiCharacter.h.
unsigned int AICharacter::_ai_char_flock_id |
Definition at line 45 of file aiCharacter.h.
NodePath AICharacter::_ai_char_np |
Definition at line 48 of file aiCharacter.h.
double AICharacter::_mass |
Definition at line 39 of file aiCharacter.h.
double AICharacter::_max_force |
Definition at line 40 of file aiCharacter.h.
double AICharacter::_movt_force |
Definition at line 44 of file aiCharacter.h.
string AICharacter::_name |
Definition at line 43 of file aiCharacter.h.
Definition at line 46 of file aiCharacter.h.
LVecBase3f AICharacter::_steering_force |
Definition at line 42 of file aiCharacter.h.
LVecBase3f AICharacter::_velocity |
Definition at line 41 of file aiCharacter.h.
NodePath AICharacter::_window_render |
Definition at line 47 of file aiCharacter.h.