Fixed various bugs involving throwing enemies.
Enemies are now thrown in an arc, at a reasonable speed.
Throwing deals the correct amount of damage, instead of killing them instantly.
To do this, enemies no longer have a NavMeshAgent, and instead use the static NavMesh.CalculatePath funciton. This allows all movement to be handled by the rigidbody.
Additionally, I re-fixed the bug where player attacks wouldn't hurt enemies. Not sure what happened to the first fix.
Fixed various bugs involving throwing enemies. Enemies are now thrown in an arc, at a reasonable speed. Throwing deals the correct amount of damage, instead of killing them instantly.
To do this, enemies no longer have a NavMeshAgent, and instead use the static NavMesh.CalculatePath funciton. This allows all movement to be handled by the rigidbody.
Additionally, I re-fixed the bug where player attacks wouldn't hurt enemies. Not sure what happened to the first fix.