public void SetSmoothing(bool state)
 {
     character.SetSmoothing(state);
 }