- Home /
Question by
Youngsterboii · Oct 20, 2016 at 02:44 PM ·
scripting problem
Assets/BallControl.js(9,30): UCE0001: ';' expected. Insert a semicolon at the end.
Heres my script. Everything works, just dont know where the end ; is going. #pragma strict
var rotationsSpeed =100;
function Update () { var rotation : float = Input.GetAxis ("Horizontal") rotationSpeed; rotation = Time.deltaTime; GetComponent.()AddRelativeTorque(Vector3.back * rotation); }
Comment
Your answer
Follow this Question
Related Questions
calculations are different in final build 0 Answers
get object that uses the event trigger 1 Answer
Unity not compiling script changes 2 Answers
Align a very easy cube mesh with collider to a Line!? 1 Answer
What am I doing wrong? C# 1 Answer