Panda3D
Public Member Functions | Public Attributes

Seek Class Reference

List of all members.

Public Member Functions

 Seek (AICharacter *ai_ch, NodePath target_object, float seek_wt=1.0)
 Seek (AICharacter *ai_ch, LVecBase3f pos, float seek_wt=1.0)
LVecBase3f do_seek ()
 This function performs the seek and returns a seek force which is used in the calculate_prioritized function.

Public Attributes

AICharacter_ai_char
LVecBase3f _seek_accum_force
LVecBase3f _seek_direction
bool _seek_done
LVecBase3f _seek_position
float _seek_weight

Detailed Description

Definition at line 24 of file seek.h.


Member Function Documentation

LVecBase3f Seek::do_seek ( )

This function performs the seek and returns a seek force which is used in the calculate_prioritized function.

This function is not to be used by the user.

Definition at line 54 of file seek.cxx.

References NodePath::get_pos(), and AIBehaviors::turn_off().

Referenced by AIBehaviors::calculate_prioritized().


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