Ran into a Problem

I am making a 3D platformer using Unity and I ran into a problem. I need to set a velocity based on the rotation of the charachter. If anyone can help with this I will appreciate it!