How to add sliding to my game (3d)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Aditya_Dev

Hello,
I am currently making a 3d fps based game and i have a problem that i have to add sliding to it. When i press shift the character should bend and slide also change the animation to knees sliding
Thank you in advance.