Hello,
I am currently in the process of setting up the enemies in my game. I am using RAIN AI to move the enemies and play movement mecanim animations this works very well.
I can also play the attack animation for the enemy with a simple Set Animator Bool Playmaker action (Tested by Alt-Clicking that state to activate it).
I thought the hardest part is done, but I have one huge problem!
I can not figure out how to TRIGGER the state where the attack should start.
My ideal situation would be to have one huge trigger area attached to the player and once an enemy enters it they go to the attack state.
However I have tried pretty much everything... from colliders to special tags to rigidbodies... nothing enables my enemies to set off that trigger and fire an event.
Here is a screenshot that shows the flawed situation for the trigger:
To doublecheck I have also created a trigger (that ugly gray box) arround the enemy, which in my mind should also fire off in this situation. However as you can see it doesn't:
Please note that the tags on the objects seem to do nothing, so I have set all to Finish atm, but they could also be Untagged or Player or whatever. Nothing works.
So pretty please... help. Preferrably with a step by step guide how to solve this madness.