title: Contact point between OverlapCircle and certain collider in Unity
body: <p>I am trying to get the contact point between a Collider and OverlapCircleAll to play an animation on that point.</p>
  
  <p>This is the method I am using for the attack.</p>
  
  <pre><code>private IEnumerator BasicAttackBehaviour()
      {
          canAttack = false;
          Collider2D[] enemiesToDamage = Physics2D.OverlapCircleAll(attackPos, attackRange, whatIsEnemy);
          for (int i = 0; i &lt; enemiesToDamage.Length; i++)
          {
              enemiesToDamage[i].GetComponentInParent&lt;Enemy&gt;().TakeDamage(damage);
          }
          PlayAttackAnimation();
          yield return new WaitForSeconds(attackDelay);
          canAttack = true;
      }
  </code></pre>
  
  <p>And this is the "TakenDamage" method:</p>
  
  <pre><code>public void TakeDamage(int damage)
      {
          health -= damage;
          GameObject bloodEffect = Instantiate(takenDamageVFX, transform.position, transform.rotation);
      }
  </code></pre>
  
  <p>I want to instantiate the VFX "bloodEffect" on the position the enemy is hitten instead of "transform.position".</p>
  
  <p><a href="https://i.stack.imgur.com/uoT3W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uoT3W.png" alt="This is how it looks like"></a></p>