Panda3D
contrib
src
ai
seek.h
1
////////////////////////////////////////////////////////////////////////
2
// Filename : seek.h
3
// Created by : Deepak, John, Navin
4
// Date : 24 Oct 09
5
////////////////////////////////////////////////////////////////////
6
//
7
// PANDA 3D SOFTWARE
8
// Copyright (c) Carnegie Mellon University. All rights reserved.
9
//
10
// All use of this software is subject to the terms of the revised BSD
11
// license. You should have received a copy of this license along
12
// with this source code in a file named "LICENSE."
13
//
14
////////////////////////////////////////////////////////////////////
15
16
#ifndef _SEEK_H
17
#define _SEEK_H
18
19
#include "aiGlobals.h"
20
#include "aiCharacter.h"
21
22
class
AICharacter
;
23
24
class
EXPCL_PANDAAI
Seek
{
25
26
public
:
27
AICharacter
*_ai_char;
28
29
LVecBase3
_seek_position;
30
float
_seek_weight;
31
LVecBase3
_seek_direction;
32
bool
_seek_done;
33
LVecBase3
_seek_accum_force;
34
35
Seek
(
AICharacter
*ai_ch,
NodePath
target_object,
float
seek_wt = 1.0);
36
Seek
(
AICharacter
*ai_ch,
LVecBase3
pos,
float
seek_wt = 1.0);
37
~
Seek
();
38
LVecBase3
do_seek();
39
};
40
41
#endif
LVecBase3f
This is the base class for all three-component vectors and points.
Definition:
lvecBase3.h:105
AICharacter
Definition:
aiCharacter.h:38
Seek
Definition:
seek.h:24
NodePath
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition:
nodePath.h:165
Generated on Wed May 17 2017 23:38:47 for Panda3D by
1.8.13