Orthographic game with jumping

Hello.

I’m making an orthographic top down game that allows the player to jump.

Because of the pythagorean theorem, moving diagonally is slower than moving straight. I want to fix this so that diagonal and straight movement is at the same speed.

I’ve read online to normalize the Vector3 before moving but the problem is that I will also be normalizing the axis for jumping which will mess up my jumping.

How can I normalize just the vector created by the two axis used for moving?

I did it!

I separated the move call for the jumping vs the normal walking. Because I separated them, I was able to normalize just the vector for walking. After normalizing, any direction had a magnitude of 1 without affecting the jump axis.