Website powered by

Unreal Engine Tutorial - Complex State Machines in Niagara

Here's a complex Niagara system that is a much more stable and improved version of my previous 'Smart Crabs' project. It's available as a Tier 2 reward on my Patreon: https://www.patreon.com/GhislainGir

It features player awareness, slope-based obstacle awareness and neighbor particle awareness.

A deep dive into how I build complex state machines in Niagara.

Quick demo.

Crabs unbury themselves from the ground, move around for a while, and bury themselves again to disappear.

Crabs unbury themselves from the ground, move around for a while, and bury themselves again to disappear.

Crabs are pushed by obstacles and flee from them for a while.

Crabs are pushed by obstacles and flee from them for a while.

State machine debug view: In red unbury, green idle, blue move, pink flee, yellow bury.

State machine debug view: In red unbury, green idle, blue move, pink flee, yellow bury.

Crabs flee away from each other, obstacles and the player.

Crabs flee away from each other, obstacles and the player.

Overview of the Niagara system. A lots of custom modules were created to handle the state machine. Niagara's Neighbor Grid 3D interface was used to make particles efficiently be aware of each other.

Overview of the Niagara system. A lots of custom modules were created to handle the state machine. Niagara's Neighbor Grid 3D interface was used to make particles efficiently be aware of each other.