Question by
saketiswara · Apr 08, 2017 at 03:29 AM ·
movementrigidbodyerror messagesemicolon
I'm getting the error "(9,35): UCEO001: ';' expected. Insert a semi colon at the end" and I don't know why. P.S. Also how do you "update version" if you're learning with older code?
1 #pragma strict 2 3 var rotationSpeed = 100; 4 5 function Update () { 6 7 var rotation : float = Input.GetAxis ("Horizontal") rotationSpeed; 8 rotation = Time.deltaTime; 9 GetComponent.()AddRelativeTorque(Vector3.back * rotation); 10 11}
Comment
Your answer
Follow this Question
Related Questions
Realistic Soccer Ball Dribbling? 1 Answer
How to restrict object's movement to a bezier curve? 0 Answers
[Help] Player stops moving when hitting wall diagonally 0 Answers
Movement is inconsistent 0 Answers
Objects slowly move by their own? 1 Answer