Home

Awesome

Path Tools

A Unity package that allows you to create and manipulate paths for game objects to follow. This tool is simple to use, customizable, and supports baking paths for improved performance.

Path Editor Preview

Installation

  1. Open Unity and go to the Package Manager window.
  2. Press the + button in the top left corner.
  3. Choose "Add package from Git URL..."
  4. Paste the following URL:https://github.com/romifauzi/PathTools.git?path=/Assets/PathTools
  5. The package will be added to your project. You can also check the included samples for example scenes and usage.

How to Use

  1. Add the Path Script:
  1. Make an Object Follow the Path:

How to Bake Path

Baking the path can improve performance by precomputing the path data.

  1. Add the BakedPath Component:
  1. Bake the Path:

Now, the MoveAlongPath component can use the baked path for better performance by assigning the BakedPath GameObject.

Customizing Path Movement

If you want to customize or create your own path-following behavior, feel free to explore the MoveAlongPath script. It offers a straightforward way to work with the PathBase object, and you should be able to easily adapt it to fit your own requirements.


Enjoy using Path Tools to create smooth and dynamic paths in your Unity projects and please report any bug, Thanks!