Skip to content

Fuzzy Logic User Guide

🇬🇧 English | 🇺🇦 Українська

Fuzzy Logic is a Mamdani fuzzy inference plugin for Unreal Engine. It lets you describe behavior with readable IF / THEN rules, smoothly blend several conditions, and get one or more numeric decisions without cascades of hard thresholds.

Systems are stored as reusable UFuzzySystemAssets, can run directly inside a UFuzzyLogicComponent, are imported and exported as JSON, are checked by the editor, and are visualized in Slate and UMG.

Fuzzy Logic 1.0, for Unreal Engine 5.8. What's new in this release — Release Notes.

Quick Start

  1. Create a Fuzzy System via Content Browser → Add → Miscellaneous → Data Asset.
  2. Add an input variable Distance with range 0…2000 and sets Near, Mid, Far.
  3. Add an output Aggression with range 0…1 and sets Cautious, Bold.
  4. Write the rules:
IF Distance IS Near THEN Aggression IS Cautious
IF Distance IS Far THEN Aggression IS Bold
  1. Double-click the Data Asset to open it. On the Inference tab, change Distance on the left and immediately see the Aggression number and graph on the right.
  2. Add a Fuzzy Logic component to an actor, assign the created System Asset, call Set Input, then Evaluate Output.

Contents