Loic.sturdyspoon.unity-movement-ai 1.0.0

dotnet add package Loic.sturdyspoon.unity-movement-ai --version 1.0.0
                    
NuGet\Install-Package Loic.sturdyspoon.unity-movement-ai -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Loic.sturdyspoon.unity-movement-ai" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Loic.sturdyspoon.unity-movement-ai" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Loic.sturdyspoon.unity-movement-ai" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Loic.sturdyspoon.unity-movement-ai --version 1.0.0
                    
#r "nuget: Loic.sturdyspoon.unity-movement-ai, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Loic.sturdyspoon.unity-movement-ai@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Loic.sturdyspoon.unity-movement-ai&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Loic.sturdyspoon.unity-movement-ai&version=1.0.0
                    
Install as a Cake Tool

Unity Movement AI

Unity Movement AI is a library of common movement AI scripts known as Steering Behaviors. You can use these scripts to help your NPCs move around your game.

How to Use

If you want to add this library to your game then import the UnityMovementAI.unitypackage. This package includes all of the movement scripts along with some premade game objects that use the scripts.

Feel free to only use what you need from the package.

Examples

If you would like to play around with the library then download this whole repository and open it in Unity. The Examples folder holds a number of premade scenes for you to play around with.

Additional Info

The library comes with the following steering behaviors: Arrive, Cohesion, Collision Avoidance, Evade, Flee, Follow Path, Hide, Interpose, Offset Pursuit, Pursue, Seek, Separation, Velocity Match, Wall Avoidance, and Wander.

Most steering behaviors have their own file, but Arrive, Interpose, and Seek are all located within the SteeringBasics.cs file.

Previews

Here are some previews of the different movement AI that come with this library.

Arrive

<a href="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/arrive.gif"><img src="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/arrive.gif" width="550" ></a>

Hide

<a href="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/hide.gif"><img src="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/hide.gif" width="550" ></a>

Flocking

<a href="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/flocking.gif"><img src="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/flocking.gif" width="550" ></a>

Wall Avoidance

<a href="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/wallAvoid.gif"><img src="https://github.com/antonpantev/unity-movement-ai/raw/master/PreviewImages/wallAvoid.gif" width="550" ></a>

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 7/31/2021