Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/7
A customizable set of scripts for adding movement behavior to any character in a game including simple point-to-point movement, patrolling between designated areas, or dynamic wandering behavior.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.4f1
Compatible
Compatible
Compatible
Additional compatibility information

The example scene makes use of TextMeshPro.

Description

The Modular Locomotion Pack provides three core scripts: Move, Patrol, and Wander, each designed with flexibility and ease of use in mind. All three scripts are compatible with several different movement types, including Rigidbody forces, transforms, Root Motion, or Unity’s NavMesh system. Each script also includes customizable options for setting patrol points, waiting times, wander radii, animation compatibility and much more. This pack is suitable for nearly any genre, such as RPGs, simulations, RTS, and sandbox games. With my pack, developers can quickly set up character movement, patrolling or wandering behaviors for NPCs, enemies, animals, or any other moving entity in their project.

Technical details
  • Three Core Movement Types:
    • Move Script: Direct point-to-point movement with flexible start/stop options.
    • Patrol Script: Allows for back-and-forth movement between multiple points or along a specified direction.
    • Wander Script: Enables freeform movement within a defined area to simulate natural roaming.
  • Movement Modes: Supports movement via Rigidbody forces, Transform manipulation, NavMesh agents or Root Motion.
  • Customizable Timing: Add delays between movements with constant or random wait times.
  • Flexible Destination Setup: Define destination points manually with Vectors, GameObjects or generate them dynamically based on direction.
  • Edge Behavior for Wander: Implements a smart bouncing mechanism to prevent units from getting stuck near the wander boundary.
  • Easy-to-Visualize Gizmos: Includes visual debugging tools to display patrol routes, wander radii, and target positions in the Unity Editor.
Created with AI

AI helped me create the first draft of the store descriptions, the first draft of the instruction PDF, and also some help with some tricky math in my code. 

Modular Basic Locomotion Pack

(not enough ratings)
2 users have favourite this asset
(2)
$7.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
1.7 MB
Latest version
1.0
Latest release date
Sep 10, 2024
Original Unity version
2021.3.4
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
$7.99