public void ReceiveAttack(Vector2 direction, float AttackForce) { Vector2 vel = (initialLaunchForce + DamageTaken / 2) * direction.normalized; body.AddForce(vel); DamageTaken += 100 * AttackForce; damageCtrl.SetDamage(DamageTaken / 10); }