How does RocFall enter Sliding mode?

RocFall enters Sliding mode in two ways. The first is when the velocity reaches a small enough value, compared to a minimum velocity input by the user. The second way is when the particle is no longer bouncing, and the trajectory of the particle is, essentially, along the ground surface.