Has anyone got the Exploder Asset (script) from the Asset store to work with Emerald AI? Can you provide the snippet you used to and where to put it in the Emerald_Animal_AI.cs, if possible?
On line #1734 of the Emerals_Animal_AI.cs script add the following:
Code (CSharp):
Exploder.Utils.ExploderSingleton.ExploderInstance.ExplodeObject(gameObject);
- Add Exploder prefab into the scene
- Add “Explodable” component to Hostile AI Example object
Note that you can’t use tag “Exploder” because the AI already have a tags that are necessary, so use the “Explodable” component instead.