Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Tasks > API/Runtime/AIModule/Tasks/UAITask_MoveTo
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Tasks/AITask_MoveTo.h |
| Include | #include "Tasks/AITask_MoveTo.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Tasks/AITask_MoveTo.cpp |
UFUNCTION (BlueprintCallable, Category="AI|Tasks",
Meta=(AdvancedDisplay="AcceptanceRadius,StopOnOverlap,AcceptPartialPath,bUsePathfinding,bUseContinuousGoalTracking,ProjectGoalOnNavigation,RequireNavigableEndLocation", DefaultToSelf="Controller", BlueprintInternalUseOnly="TRUE", DisplayName="Move To Location or Actor"))
static UAITask_MoveTo * AIMoveTo
(
AAIController * Controller,
FVector GoalLocation,
AActor * GoalActor,
float AcceptanceRadius,
EAIOptionFlag::Type StopOnOverlap,
EAIOptionFlag::Type AcceptPartialPath,
bool bUsePathfinding,
bool bLockAILogic,
bool bUseContinuousGoalTracking,
EAIOptionFlag::Type ProjectGoalOnNavigation,
EAIOptionFlag::Type RequireNavigableEndLocation
)
Remarks
Move to a location or an actor
Parameters
| Name | Description |
|---|---|
| ProjectGoalOnNavigation | Try to move the goal to the navigation surface before requesting the move, fails if it can't. |
| RequireNavigableEndLocation | Set to No to allow pursuing the request even if no navigation surface is found at the goal location. |