- Home /
New Unity problem
Hello guys, but this new Unity, using the 2D mode, I'm trying to move my character in the X axis for example, when I call the Transform.Translate I'm creating a vector3 like (.5f,0,0). But when I run the game the character moves in the Z axis, I can't understand why this happens, any idea?
Comment
Answer by ozku · Jan 16, 2014 at 03:05 PM
Your characters rotation might be 90 degrees on y axis. Make sure that your characters rotation is (0, 0, 0).
Your answer
![](https://koobas.hobune.stream/wayback/20220613130614im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity 2D: Character splits apart on game mode 0 Answers
How can i keep global scale of object while instantiate it 1 Answer
Finding "UP" while using planetary gravity? 0 Answers
Problems with pathfinding algorithm 0 Answers
Translation of an Object 0 Answers