Character Controller Wrong Moving

When i press W and S my character moving like i pressed forward + right direction here is the video of that.

Here is I used my codes ;


It would be more helpful if you shared more information on your scene setup. Example, to which object is this code snippet attached and what are moveHorzAxis etc set to? Any reason for not using CF2Input.GetAxis(“Vertical”) and CF2Input.GetAxis(“Horizontal”);?