Player continues moving after death




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 =;) when my player dies, does that sound good?

Thank you!