Integrating UCC with Blaze AI


Sharing a super simple integration between any of the Opsive controllers and Blaze AI:

It's super simple:

1) setup your AI with Blaze, add ragdoll colliders
2) Add a Rigidbody
3) add (from Opsive): Attribute Manager & Health components
4) add 'on damage' and 'on death' events to the Health component
5) add the attached script (Damage Handler) to the AI
6) setup the 'Take Damage' and 'On Death' events to point at the damage handler

2024-01-28 13_29_18-EndDays.New - Gym - Windows, Mac, Linux - Unity 2022.3.16f1 _DX11_.png

Damage Handler script: