Player continues moving after death

rpg_s03_coroutine_for_death_sequence

#1

Hi!

If I click on the terrain when my player dies, he begins to move slowly towards that point. How would you solve that @ben? I could get a reference to the AIC character inside Player.cs and change the agent speed to zero (agent.velocity = Vector3.zero;) when my player dies, does that sound good?

Thank you!