Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m039/commonunitysamples
Samples of usage Common Unity Library
https://github.com/m039/commonunitysamples
ai artificial-intelligence behaviour-trees goal-oriented-action-planning goap pathfinding samples state-machine unity
Last synced: about 2 months ago
JSON representation
Samples of usage Common Unity Library
- Host: GitHub
- URL: https://github.com/m039/commonunitysamples
- Owner: m039
- Created: 2024-07-23T00:09:31.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-09-08T00:57:38.000Z (4 months ago)
- Last Synced: 2024-09-08T07:24:16.948Z (4 months ago)
- Topics: ai, artificial-intelligence, behaviour-trees, goal-oriented-action-planning, goap, pathfinding, samples, state-machine, unity
- Language: C#
- Homepage: http://m039.github.io/CommonUnitySamples
- Size: 175 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Common Unity Samples
This project contains samples to showcase [Common Unity Library](https://github.com/m039/CommonUnityLibrary).
[You can try them in a browser](http://m039.github.io/CommonUnitySamples).
Samples:
* [GOAP Sample](/Assets/Projects/GOAPSample)
* [Behaviour Tree Sample](/Assets/Projects/BehaviourTreeSample)
* [State Machine Sample](/Assets/Projects/StateMachineSample)
* [Pathfinding Sample](/Assets/Projects/PathfindingSample)
* [Flocking Sample](/Assets/Projects/FlockingSample)## GOAP Sample
This sample is inspired by [this YouTube video](https://youtu.be/LhnlNKWh7oc?si=UHO7P1lFCUvI6azU) about GOAP in Godot. I used the same goals and assets. The main goal of a bot is to keep a bonfire lit. He can also be hungry or in danger when he encounteres a troll.
## Behaviour Tree Sample
In this sample there are several types of bots with different behaviours. From time to time some food appears and bots are trying to find and grab it. You can also add or remove food by clicking on the screen.
## State Machine Sample
This is a very simple sample when you can change a bot's state by pressing a button.
## Pathfinding Sample
A scene with a lot of object with colliders and two circles which you can drag with a mouse and the path will be calculated between their points.
## Flocking Sample
A scene with a lot of small agents with flocking behavours.