Tuesday, 27 August 2019

Trixhot Demo

The Unity version of Active Logic ships with a simple, yet functional top down shooter. The main purpose of the code sample is to illustrate effective uses of the library:

  • The demo demonstrates using Active Logic to build not only AI, but also game controllers and user input.
  • A simple version of the source is designed to help beginners learn the basics of the API.
  • A more advanced version of the source takes full advantage of C#7, also demonstrating best performance and thread safe uses.


Early on I decided that this demo wasn't meant to 'wow' with pretty media that would result in a bloated asset store package. Inasmuch as possible, assets are generated programmatically, and the code involved in that stays out of the way.

Duelist Demo

The Duelist demo was created to investigate integrating Active Logic agents with Mecanim. The demo implements battle mechanics:

  • Approach and strike
  • Block
  • Retreat
  • KO

Using Active Logic, the complete `Duelist` AI is about 100 lines of code. The demo will published soon on Github.


Bobba Tea Demo

In order to test and refine the Active Logic API several demos are being created. The Bobba Tea demo features a biped robot animated using PBA (physically based animation) and Active Logic. PBA shares common features with IK driven animation (through bone chains and physics joints) but motion implementation is driven by motors and rotors.