Question by
wolfman1098 · Jan 01, 2017 at 04:09 PM ·
script.
I'm getting the error Assets/Scripts/movement.js(8,185): BCE0043: Unexpected token: ). what should I do
My script #pragma strict var playerAcceleration : float = 500; var cameraObject : GameObject;
function Update () { transform.rotation = Quaternion.Euler(0, cameraObject.GetComponent(MouseLook).CurrentyRotation); GetComponent(AddRelativeForce(Input.GetAxis("Horizontal") playerAcceleration Time.deltaTime,0,Input.GetAxis("Veritacal") playerAcceleration Time.deltaTime,); }
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612103827im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How Create a menu in script and inspector ?? 2 Answers
car moving too slow? 1 Answer
How do I set the initial velocity of a ParticleEmitter? 0 Answers
I need help to change C# to JS 1 Answer
I can't test the game 0 Answers