SActorTargetParams

C++
struct SActorTargetParams {
  enum type_uninitialized {
    UNINITIALIZED
  };
  Vec3 location;
  Vec3 direction;
  string vehicleName;
  int vehicleSeat;
  float speed;
  float directionTolerance;
  float startArcAngle;
  float startWidth;
  EStance stance;
  TExactPositioningQueryID * pQueryStart;
  TExactPositioningQueryID * pQueryEnd;
  _smart_ptr pAction;
  float prepareRadius;
  bool projectEnd;
  bool navSO;
  bool completeWhenActivated;
};
File

IMovementController.h

Notes

IMPORTANT: wherever "Target" is mentioned in this file, we talk about a target position, *not* direction.

SActorTargetParams::type_uninitialized Enumeration
C++
enum type_uninitialized {
  UNINITIALIZED
};
File

IMovementController.h

SActorTargetParams::completeWhenActivated Data Member
C++
bool completeWhenActivated;
Description

true when you want the movementcontroller to continue working as normal as soon as the action is entered (instead of waiting for it to finish).

SActorTargetParams::direction Data Member
C++
Vec3 direction;
SActorTargetParams::directionTolerance Data Member
C++
float directionTolerance;
Description

allowed direction tolerance (radians)

SActorTargetParams::location Data Member
C++
Vec3 location;
Description

target location

SActorTargetParams::navSO Data Member
C++
bool navSO;
Description

we allow bigger errors in start position while passing through a smart object to avoid too much slowing down in front of it

SActorTargetParams::pAction Data Member
C++
_smart_ptr pAction;
SActorTargetParams::pQueryEnd Data Member
C++
SActorTargetParams::pQueryStart Data Member
C++
SActorTargetParams::prepareRadius Data Member
C++
float prepareRadius;
SActorTargetParams::projectEnd Data Member
C++
bool projectEnd;
SActorTargetParams::speed Data Member
C++
float speed;
SActorTargetParams::stance Data Member
C++
EStance stance;
SActorTargetParams::startArcAngle Data Member
C++
float startArcAngle;
Description

arc angle used to bend the starting line (radians)

SActorTargetParams::startWidth Data Member
C++
float startWidth;
Description

width of the starting line

SActorTargetParams::vehicleName Data Member
C++
string vehicleName;
SActorTargetParams::vehicleSeat Data Member
C++
int vehicleSeat;
SActorTargetParams::SActorTargetParams Constructor ()
C++
SActorTargetParams();
SActorTargetParams::SActorTargetParams Constructor (type_uninitialized)
C++
SActorTargetParams(type_uninitialized);
Description

non-default constructor to allow CMovementRequest to avoid unnecessary initialization of vars in SActorTargetParams