Hi all,
I have come across some problem with '2D trigger event' action...
I'm using the action to control my enemies, so setting is 'on stay' and sent event to attack the player (I've made sure checking the 'is a trigger' box).
The problem is it only trigger the 'attack' once, then the enemy will just hover on the player and do nothing. Only when the player makes a move, then it will trigger the attack again.
I've also tried using both 'on enter' and 'on stay' and it didn't make any difference.
Another thing I tried is to use '2D collision event' and the function works well. But What I need is for the enemy to just have the trigger collision shape with no rigid body.
Could anyone help to solve the problem?
Thanks,
M