How to walk with the same speed no matter the rotation?

Is there an easy way to get the character controller walk with the same speed no matter its rotation? I do have a script to solve the problem, but its stupid to use it, if there is an easy way

There are many ways to do it, and I don’t know which to recommend you since you didn’t show the code you’re using but, if you use a Vector3 for the direction, make sure to normalize it. If the user presses left and forward at the same time, it would double the speed. Normalizing the Vector3 prevents that.

That was all i needed to know. thanks a lot. Anyways it dosnt double the speed. It just get a 41% ekstra speed^^