How would I go about creating a wall riding system?

I’ve tried and failed numerous times and can’t seem to figure this out. Below is something similar to the type of wall running I’m trying to accomplish.

You’ll need to raycast to the sides of the player to detect the wall. Once you have detected it, you can just tween the player along it, or use a physics constraint to pull them along. You will most likely want to play the animation customly.