Skip to content

bustedbunny/Pathfinding

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 6 commits ahead of enzi:main.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pathfinding

Pathfinding - using Unity Navmesh, ECS and Burst.

This fork represents self-sufficient module that can be used with Unity Entities and NavMesh.

Authoring pathfinder

In order to add all necessary components to authoring object simply add PathfinderAuthoring component.

Specify agentID and minimal query distance and it's ready to be baked.

Finding path

To find a path you need to get PathfinderAspect of relevant entity.

For example:

var path = SystemAPI.GetAspect<PathfinderAspect>(entity);
path.FindPath(pathFrom, pathTo);

After query is done dynamic buffer PathBuffer will be filled with direct path position. Pathfinder component will also get it's pathStatus field updated.

About

Pathfinding - using Unity Navmesh, ECS and Burst

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%