- Home /
Question by
fabianschmidt2512 · Jun 15, 2020 at 07:55 PM ·
#pragma
Disable diagonal movement in Character Controller Unity 3D
How can I disable diagonal movement in the standard Unity character controller script (picture of code attached)? I only want to move the character with WASD forward and to the side and not diagonal!
[1]: /storage/temp/162042-help.png
help.png
(45.3 kB)
Comment
Your answer
Follow this Question
Related Questions
DontDestroyOnLoad object 1 Answer
Service not available 0 Answers
CG compiled to GLSL: hyperbolic functions not found. 0 Answers
Advice wanted on state transition code. 2 Answers
Terrain not shown 0 Answers