Melee counter attack ability

Shadowing

Member
What exactly is the purpose for the Melee counter attack ability?
Is that pretty much to make it easy to setup melee attacking.
Cause I notice there is a bit of logic that goes into play when handling melee attacking. Was thinking i should be using that instead of writing my own.
Like when the AI knows when to stop etc. Since all my melee units are all different sizes.

Right now I was writing it so that the collider on the melee weapon or Mouth of a animal using his hit point on the weapons collider closets the target to figure out when to set a stopping distance.
 
Top