Panda3D

Public Member Functions | Public Attributes | List of all members
Seek Class Reference

## Public Member Functions
| Seek (AICharacter *ai_ch, LVecBase3 pos, float seek_wt=1.0)
| Seek (AICharacter *ai_ch, NodePath target_object, float seek_wt=1.0)
LVecBase3 | do_seek ()
| This function performs the seek and returns a seek force which is used in the calculate_prioritized function. More...

## Public Attributes
AICharacter * | _ai_char
LVecBase3 | _seek_accum_force
LVecBase3 | _seek_direction
bool | _seek_done
LVecBase3 | _seek_position
float | _seek_weight

## Detailed Description

Definition at line 22 of file seek.h.

## Member Function Documentation

## ◆ do_seek()

LVecBase3 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 48 of file seek.cxx.

References NodePath::get_pos().

Referenced by AIBehaviors::calculate_prioritized().

The documentation for this class was generated from the following files:

- contrib/src/ai/seek.h
- contrib/src/ai/seek.cxx