Hi, I'm a 3D artist working on a small project, and note I said artist. I'm in no way shape or form a programmer, I just started learning Javascript about a week ago. Anyway I'm working on a 2.5D Project And i have the Character rotating With the mouse Location. However when the character moves It's relative to The characters axis so he moves in whatever direction he is facing. I'm looking for A very simple script to make it so No matter what direction the character is facing, The movement will always be in the same direction. now and this is most likely very incorrect. but i figured it would be something like this.
Blockquote
Blockquote> function Update() {
Input.GetAxis("Horizontal") * Time.deltaTime * speed, Space.World;
Input.GetAxis("Vertical") * Time.deltaTime * speed, Space.World;
}
} Blockquote
Blockquote
But this keeps coming back with a expecting ";" error on line 6 and 7 so i am very confused. mainly because i have almost no knowledge of this language
I am just trying to do this until My Programmer Can understand exactly what the project is going for.