My Project
|
Biped way point: see CBipedObject::m_vPosTarget. More...
#include <BipedWayPoint.h>
Public Types | |
enum | MyType { COMMAND_POINT = 0, COMMAND_FACING, COMMAND_WALK_FORWARD, COMMAND_MOVING, COMMAND_MOUNT, PATHFINDING_POINT, BLOCKED, COGNITIVE, COGNITIVE_POINT, COGNITIVE_FACING, INVALID_WAYPOINT } |
Public Member Functions | |
MyType | GetPointType () |
void | SetPointType (MyType newType) |
bool | IsMoving () |
return true, if the point type is of a moving kind. More... | |
bool | IsUseFacing () |
whether facing should be enforced. More... | |
const DVector3 & | GetPosition () const |
BipedWayPoint (const Vector3 &p, MyType ptType=COMMAND_POINT, float fTime=-1.0f) | |
BipedWayPoint (const Vector3 &p, float facing, MyType ptType=COMMAND_POINT, float fTime=-1.0f) | |
BipedWayPoint (float fBlockTime) | |
BipedWayPoint (MyType ptType) | |
Public Attributes | |
enum ParaEngine::BipedWayPoint::MyType | nType |
DVector3 | vPos |
float | fTimeLeft |
in seconds; Way point is deleted after fTimeLeft seconds. More... | |
float | fFacing |
bool | bUseFacing: 1 |
int | m_nReserved0 |
string | m_sTarget |
this is usually the mount target object's name. | |
Biped way point: see CBipedObject::m_vPosTarget.
bool BipedWayPoint::IsMoving | ( | ) |
return true, if the point type is of a moving kind.
i.e. value < BLOCKED
bool BipedWayPoint::IsUseFacing | ( | ) |
whether facing should be enforced.
float ParaEngine::BipedWayPoint::fTimeLeft |
in seconds; Way point is deleted after fTimeLeft seconds.
if negative, then the position is persistent, until being reached.