Flocks

Justin Kiesskalt - 2021/07/31

Simulate tens of thousands of flocking agents, at optimised speeds

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

New to Flocks Version 1.2:

Added Interaction + Health Support! You can now line trace for boids, allowing developers to use them for interactive gameplay! Add raycasting weapons that can damage boids and increase the immersion of your games.


New to Flocks Version 1.1:

Animation support! Simple VAT animations can now be applied to the simulation - these can be built directly from a skeletal animation in the editor. Add more life to your world, simulate birds, butterflies, insects and more. With the power of Vertex Animated Textures, you can easily run 20,000+ animated meshes in 60FPS.


Simulating huge amounts of Boids in optimal frame rates has never been easier than it is with Flocks. Supporting a massive 65000+ agents at runtime, and with a large array of modifiable values, you can create life-like flocks with no effort at all. With built-in support for Restriction Volumes, you can easily define areas that are off-limits - or use Goal/Flee Volumes to make flocks that dynamically react and run away from predators!

Flocks allow you to modify every aspect of the simulation at runtime - change values for Cohesion, Separation, Alignment, Speed, Scale - and many more. Define groups that have different meshes/settings and change how they interact with each other at the flick of a switch.

Despite running on a complex optimized code algorithm, Flocks comes with full Blueprint Support which boasts a heavy focus on ease-of-use. Changing the scale of one agent, or randomizing the speed of every agent is as easy as calling a single function in Blueprints!

技术细节

Features:

  • CPU and GPU support 
  • ANIMATION support
  • Drag and Drop implementation of Flocking Simulation
  • A diverse range of modifiable settings
  • Volume system allowing agents to Goal/Flee or Restrict their movement
  • Grouping system which allows Groups to change how they interact
  • Exposed values for simulation accuracy allowing for higher frame-rates over the accuracy or vice versa
  • Blueprint Function Library for communicating with the simulation in Blueprints
  • 4 Demonstration levels showing how to use the plugin
  • 4 Textured Fish Meshes to give you a head start


Code Modules:

  • Flocks - Runtime
  • Flocks Editor - Editor


Number of Blueprints: 8 (demo) blueprints

Number of C++ Classes: 3 exposed (22 total)

Network Replicated: No

Supported Development Platforms: Win64, macOS, XboxOne, PlayStation4

Supported Target Build Platforms: Win64, macOS, XboxOne, PlayStation4


Documentation: Link

Demonstration Video: Link

Animation Demonstration Video: Link

Animation Tutorial: Link

Demonstration Project: Link