Open source pathfinding for Unity
C# XML JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Images Delete openpath-title.png May 6, 2014
OpenPath move to c# Feb 16, 2015
.gitignore move to c# Feb 16, 2015
README.md Update README.md May 8, 2014

README.md

What is it?

It's an automated, very simple path finding package for Unity. It's based on A* and written in UnityScript and C#. I am doing this in tandem with our Deus Ex themed game The Vongott Chronicles

How to use it?

Refer to the example project for a demonstration. You can select the map type in the "Scanner" object, and then activate the corresponding object (NavMeshTest, WayPointTest or GridTest).

Screenshots

Grid

Waypoint

Navmesh

WARNING!

For reasons unbeknownst to me, when you select an object with the OPPathFinder component on it, and the Unity Inspector is visible, there is a huge memory leak in Unity, causing the whole environment to come to a crawl. Select any other object in the scene (or unfocus/disable the inspector temporarily) and it's fine.

Features:

  • Automatic world bounds calculation
  • Raycast scanning and node placement
  • Easily adjustable scanning parameters
  • Multithreading
  • Waypoint, grid and NavMesh based types
  • Free & open source!

License

Creative Commons License