Move to Location

Move to Location

Windows
MacOS
Linux

Makes AI go toward specified Dest location, aborts any active path following

Target is AIController

Move to Location
Target
Dest
X0
Y 0
Z 0
Acceptance Radius
-1.000000
Stop on Overlap
Use Pathfinding
Project Destination to Navigation
Can Strafe
Filter Class
Select Class
Allow Partial Path
Return Value
Failed

Inputs

In
Exec
Target
AIController Object Reference
Dest
Vector (by ref)
Acceptance Radius
Float

finish move if pawn gets close enough

Stop on Overlap
Boolean

add pawn's radius to AcceptanceRadius

Use Pathfinding
Boolean

use navigation data to calculate path (otherwise it will go in straight line)

Project Destination to Navigation
Boolean

project location on navigation data before using it

Can Strafe
Boolean

set focus related flag: bAllowStrafe

Filter Class
Navigation Query Filter Class Reference

navigation filter for pathfinding adjustments. If none specified DefaultNavigationFilterClass will be used

Allow Partial Path
Boolean

use incomplete path when goal can't be reached

Outputs

Out
Exec
Return Value
EPathFollowingRequestResult Enum
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss