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
<PackageReference Include="Loic.sturdyspoon.unity-movement-ai" Version="1.0.0" />
<PackageVersion Include="Loic.sturdyspoon.unity-movement-ai" Version="1.0.0" />
<PackageReference Include="Loic.sturdyspoon.unity-movement-ai" />
paket add Loic.sturdyspoon.unity-movement-ai --version 1.0.0
#r "nuget: Loic.sturdyspoon.unity-movement-ai, 1.0.0"
#:package Loic.sturdyspoon.unity-movement-ai@1.0.0
#addin nuget:?package=Loic.sturdyspoon.unity-movement-ai&version=1.0.0
#tool nuget:?package=Loic.sturdyspoon.unity-movement-ai&version=1.0.0
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 | Versions 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. |
-
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 |