PathFollowerParams

C++
struct PathFollowerParams {
  float normalSpeed;
  float pathRadius;
  float pathLookAheadDist;
  float maxAccel;
  float maxDecel;
  float minSpeed;
  float maxSpeed;
  float endAccuracy;
  float endDistance;
  bool stopAtEnd;
  bool use2D;
  bool isVehicle;
  bool isAllowedToShortcut;
  IAISystem::tNavCapMask navCapMask;
  float passRadius;
};
File

IPathfinder.h

PathFollowerParams::endAccuracy Data Member
C++
float endAccuracy;
Description

< How close to the end point the agent must be to finish pathing

PathFollowerParams::endDistance Data Member
C++
float endDistance;
Description

< stop this much before the end

PathFollowerParams::isAllowedToShortcut Data Member
C++
bool isAllowedToShortcut;
PathFollowerParams::isVehicle Data Member
C++
bool isVehicle;
PathFollowerParams::maxAccel Data Member
C++
float maxAccel;
Description

< maximum acceleration of the entity

PathFollowerParams::maxDecel Data Member
C++
float maxDecel;
Description

< maximum deceleration of the entity

PathFollowerParams::maxSpeed Data Member
C++
float maxSpeed;
Description

< maximum output speed

PathFollowerParams::minSpeed Data Member
C++
float minSpeed;
Description

< minimum output speed (unless it's zero on path end etc)

PathFollowerParams::navCapMask Data Member
C++
Todo

Add to serialize... The navigation capabilities of the agent

PathFollowerParams::normalSpeed Data Member
C++
float normalSpeed;
Description

< normal entity speed

PathFollowerParams::passRadius Data Member
C++
float passRadius;
Description

The minimum radius of the agent for navigating

PathFollowerParams::pathLookAheadDist Data Member
C++
float pathLookAheadDist;
Description

< how far we look ahead along the path - normally the same as pathRadius

PathFollowerParams::pathRadius Data Member
C++
float pathRadius;
Description

< max deviation allowed from the path

PathFollowerParams::stopAtEnd Data Member
C++
bool stopAtEnd;
Description

< aim to finish the path by reaching the end position (stationary), or simply overshoot

PathFollowerParams::use2D Data Member
C++
bool use2D;
Description

< follow in 2 or 3D

PathFollowerParams::PathFollowerParams Constructor
C++
PathFollowerParams();
PathFollowerParams::Serialize Method
C++
void Serialize(TSerialize ser);
Description

Callable only inside the AISystem module. It's implemented there.