Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Fuzzy Logic plugin/library in Unity like in Matlab

Discussion in 'Formats & External Tools' started by Clay_More, May 7, 2016.

  1. Clay_More


    Dec 17, 2015
    I'm going to do a simple project of racing game with AI using Fuzzy Logic. Do you know maybe some tool which I can use for it? I mean something similar to fuzzy tool from Matlab (when you can declare variables, rules etc.) or maybe some good library in C# ?
  2. s_felemban


    Jan 18, 2016
  3. atabal


    Nov 21, 2022

    Hey guys,
    I know this is super late but I'm working on an open-source Unity package for fuzzy logic control (similar to the one on Matlab) myself. Currently it's at pre-release stage but you may still try and use it. I'd be glad to provide support and receive feedback. Also like I said it's an open-source project so I'm looking for fellow developers to join me. Do let me know if you are interested. I started just over a month ago and I'm still the sole developer on it.

    Here is the GitHub link to it:

    Note that there is no documentation yet but take a look at the Samples/ folder for two basic usage examples. You may quickly decipher what's going on and how to use it just by looking over a few (10-20) lines of code in there if you know fuzzy logic and fuzzy control.

    Get in touch with me on mabal<AT>tutanota<DOT>com (excuse the spelling of the mail, I'm trying to avoid the bots) if you want to provide feedback or be an open-source contributor.