Search Unity

Quick question about Enemy Hit Points

Discussion in 'Scripting' started by Josenifftodd, Dec 20, 2014.

  1. Josenifftodd

    Josenifftodd

    Joined:
    Nov 29, 2013
    Posts:
    158
    The battle system I have is kinda like FFX where they stand and run to each other to attack

    for the attack to happen would I make a GameObject with a square Collider and place that in front of my enemy prefab for the attack to hit the enemy and then make the enemy animate behind if the box collides with my players sword ?