How do i make character slide


I am creating an endless runner game and i want to make my character slide


Hi if you mean dash take a look


No i mean slide
Like in an endless runner game
I tried rotating the hitbox but it was a total trash i made


Oh in that case you need to add an specific animation to your character and make the hitbox according to the frames on that animation. I saw that in YouTube just look for it.


Is this closer to what you wanted?](