Added on_hit functions to particles