You can use multi trace in the direction of movement to detect the character first and then if there’s something behind him, and get the distance between the character and the surface.
You can use multi trace in the direction of movement to detect the character first and then if there’s something behind him, and get the distance between the character and the surface.