I make RTS wheeled unit with AI.
I’m use PID controller for compute acceleration and sterring and in RequestDirectMove I change acceleration and steering.
When I make my new AI controller with UCrowdFollowingComponent,
AAIUnitController::AAIUnitController(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer.SetDefaultSubobjectClass<UCrowdFollowingComponent>(TEXT("PathFollowingComponent")))
{
bStartAILogicOnPossess = 1;
}
then RequestDirectMove not work - its parameters always zero vector.
How do I control my unit now?