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_ptrpAction; float prepareRadius; bool projectEnd; bool navSO; bool completeWhenActivated; };
IMovementController.h
IMPORTANT: wherever "Target" is mentioned in this file, we talk about a target position, *not* direction.
enum type_uninitialized { UNINITIALIZED };
IMovementController.h
bool completeWhenActivated;
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).
Vec3 direction;
float directionTolerance;
allowed direction tolerance (radians)
Vec3 location;
target location
bool navSO;
we allow bigger errors in start position while passing through a smart object to avoid too much slowing down in front of it
_smart_ptrpAction;
TExactPositioningQueryID * pQueryEnd;
TExactPositioningQueryID * pQueryStart;
float prepareRadius;
bool projectEnd;
float speed;
EStance stance;
float startArcAngle;
arc angle used to bend the starting line (radians)
float startWidth;
width of the starting line
string vehicleName;
int vehicleSeat;
SActorTargetParams();
SActorTargetParams(type_uninitialized);
non-default constructor to allow CMovementRequest to avoid unnecessary initialization of vars in SActorTargetParams