How do I make a Sonic adventure style Spindash in 3D?

I’m trying to make a Sonic adventure style game and I can’t get the Spindash right