Download

moveto not work cpp behaviortree

Hello everyone , ihave a strange problem with ai controller. I create simple behavior tree 7d322436573fa0e8688724f0055e5b3e577f04e4.jpeg
and start tree from cpp and he work , but char dont move.
also i add in char in tick class code :


TArray<AActor*>  SpawnedBullet;
     
     UGameplayStatics::GetAllActorsOfClass(GetWorld(), AMyProjectCharacter::StaticClass(), SpawnedBullet);
     
     EPathFollowingRequestResult::Type MoveToActorResult = Aitest->MoveToActor(SpawnedBullet[0]);

but this dont work too

whats wrong?
also this question on https://answers.unrealengine.com/questions/470207/moveto-behaviortree-c-not-work.html