Target Tracking
A following object tries to move toward or stay connected to a selected target object.
Object Game Settings
Follow Object Settings make one object track another object, including smart-follow style behavior.
What it controls
Use this page as the detailed reference for the Follow Object Settings group inside the Object Game Settings menu.
A following object tries to move toward or stay connected to a selected target object.
Smart Follow can use ray-cast style visibility, obstacle checks, danger avoidance, search behavior, and patrol behavior.
When the target is no longer visible, the follower can continue toward the last known area or enter a search/patrol mode.
Use follow behavior for enemies, companions, guided hazards, moving cameras, or objects that chase a goal.
How it works
These points describe what the system does after the level starts and the editor data becomes live gameplay behavior.
If the follower has a clear path or valid visibility, it moves directly toward the target.
Smart follow can avoid blocking objects or danger objects when configured to do so.
A follower can patrol when it has no active target or when trigger logic starts patrol behavior.
Trigger zones can start, stop, or toggle smart-follow patrol state.
Setup flow
Use this checklist while building or debugging a level that uses Follow Object Settings.
Choose the object that should be followed and make sure it exists when play starts.
If the follower should avoid walls or hazards, tag or configure the relevant blocking objects.
A follower that is too fast can feel unfair. A follower that is too slow may never reach the target.
Move the target behind obstacles and confirm the search behavior still feels intentional.
Creator guide
Smart Follow uses target visibility and free passages rather than requiring a pre-drawn route.
Enter Search Mode Delay postpones lost-target search. Max Search Distance Radius limits search around the real last-seen target position; 0 disables that radius limit.
Enable Patrolling allows patrol, while Start Patrolling On Create decides whether it begins immediately. Set Patrolling Angle and Patrolling Distance from the object's starting origin.
Active patrol uses Patrolling Distance. The lost-target Search Duration and Max Search Distance Radius do not end active patrol.
Use a trigger zone's Smart Follow Patrol Change with Start, Stop or Toggle. Stop returns the follower toward its patrol origin and stops there.
A visible real target takes priority over patrol. After unsuccessful real-target search, patrol resumes only if patrol remains enabled.
Start with an origin, a clear patrol corridor and a visible target. Test losing the target behind one obstacle before adding danger avoidance or iterative search.