Planeshift
Public Member Functions

psPathAnchor Class Reference

#include <pspath.h>

List of all members.

Public Member Functions

virtual bool CalculateAtDistance (psWorld *world, iEngine *engine, float distance, psPath::Direction direction)
 Calculate internal values for this path given some distance value.
virtual bool Extrapolate (psWorld *world, iEngine *engine, float delta, psPath::Direction direction, iMovable *movable)
 Extrapolate the movable delta distance along the path Warning: Use ExtrapolatePosition with CD off.
psPath::Direction GetCurrentAtDirection ()
 Get the current direction.
float GetCurrentAtFraction ()
 Get the current fraction of the current path segment.
int GetCurrentAtIndex ()
 Get the index to the current path point.
float GetDistance ()
 Get the current distance this anchor has moved along the path.
virtual void GetInterpolatedForward (csVector3 &forward)
 Get the interpolated forward vector.
virtual void GetInterpolatedPosition (csVector3 &pos)
 Get the interpolated position.
virtual void GetInterpolatedUp (csVector3 &up)
 Get the interpolated up vector.
 psPathAnchor (psPath *path)
virtual ~psPathAnchor ()

Detailed Description

Definition at line 350 of file pspath.h.


Constructor & Destructor Documentation

psPathAnchor::psPathAnchor ( psPath path)
virtual psPathAnchor::~psPathAnchor ( ) [inline, virtual]

Definition at line 354 of file pspath.h.


Member Function Documentation

virtual bool psPathAnchor::CalculateAtDistance ( psWorld world,
iEngine *  engine,
float  distance,
psPath::Direction  direction 
) [virtual]

Calculate internal values for this path given some distance value.

virtual bool psPathAnchor::Extrapolate ( psWorld world,
iEngine *  engine,
float  delta,
psPath::Direction  direction,
iMovable *  movable 
) [virtual]

Extrapolate the movable delta distance along the path Warning: Use ExtrapolatePosition with CD off.

psPath::Direction psPathAnchor::GetCurrentAtDirection ( ) [inline]

Get the current direction.

Definition at line 378 of file pspath.h.

float psPathAnchor::GetCurrentAtFraction ( ) [inline]

Get the current fraction of the current path segment.

Definition at line 380 of file pspath.h.

int psPathAnchor::GetCurrentAtIndex ( ) [inline]

Get the index to the current path point.

Definition at line 376 of file pspath.h.

float psPathAnchor::GetDistance ( ) [inline]

Get the current distance this anchor has moved along the path.

Definition at line 374 of file pspath.h.

virtual void psPathAnchor::GetInterpolatedForward ( csVector3 &  forward) [virtual]

Get the interpolated forward vector.

virtual void psPathAnchor::GetInterpolatedPosition ( csVector3 &  pos) [virtual]

Get the interpolated position.

virtual void psPathAnchor::GetInterpolatedUp ( csVector3 &  up) [virtual]

Get the interpolated up vector.


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