Skip to main content

MoveToLocation

Moves the actor to the specified location. When the movement has succeeded or failed, the Completed delegate is called with success/failure.
Inputs
WorldContextObject
UObject*
required
The world context object.
Controller
AController*
required
The controller to move.
Destination
FVector
required
The vector location to move to.
AcceptanceRadius
float
The radius around the destination location that is considered acceptable. Be sure to set this to a reasonable value as the controller may never reach the exact destination.
  • Default: 100.f
bDebugLineTrace
bool
Display a line trace to the destination location for a short duration.
Outputs
ReturnValue
UUDAT_MoveToLocation*
The async task instance.