2D Flocking Demo

An asset by meloonics
The page banner background of a mountain and forest
2D Flocking Demo image holder but it is empty

Quick Information

0 ratings
2D Flocking Demo icon image
meloonics
2D Flocking Demo

This demo demostrates how different forces act upon a simple vehicle. This can be used to figure out your NPC AI, Particle movement or for education purposes. The project is based on "The Nature of Code" by Daniel Shiffman and I encourage you to read it and support the original author: https://natureofcode.com/Forces implemented in this demo are:*A simple Target-seeking force without pathfinding*group forces like separation, alignment and cohesion, which are important for flocking behaviour*mass-based forces like wind or gravity*a random-movement-force based on Perlin-Noise*friction/velocity-loss over time.Feel free to use the project however you please. I tried to comment the code as much and as unerstandably as possible.

Supported Engine Version
3.1
Version String
1.0
License Version
GPLv3
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

This demo demostrates how different forces act upon a simple vehicle. This can be used to figure out your NPC AI, Particle movement or for education purposes. The project is based on "The Nature of Code" by Daniel Shiffman and I encourage you to read it and support the original author: https://natureofcode.com/

Forces implemented in this demo are:
*A simple Target-seeking force without pathfinding
*group forces like separation, alignment and cohesion, which are important for flocking behaviour
*mass-based forces like wind or gravity
*a random-movement-force based on Perlin-Noise
*friction/velocity-loss over time.

Feel free to use the project however you please. I tried to comment the code as much and as unerstandably as possible.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
2D Flocking Demo icon image
meloonics
2D Flocking Demo

This demo demostrates how different forces act upon a simple vehicle. This can be used to figure out your NPC AI, Particle movement or for education purposes. The project is based on "The Nature of Code" by Daniel Shiffman and I encourage you to read it and support the original author: https://natureofcode.com/Forces implemented in this demo are:*A simple Target-seeking force without pathfinding*group forces like separation, alignment and cohesion, which are important for flocking behaviour*mass-based forces like wind or gravity*a random-movement-force based on Perlin-Noise*friction/velocity-loss over time.Feel free to use the project however you please. I tried to comment the code as much and as unerstandably as possible.

Supported Engine Version
3.1
Version String
1.0
License Version
GPLv3
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers