Question by
mjolaughlin · Nov 28, 2015 at 11:27 PM ·
erroruce0001
UCE0001: ';' expected. Insert a semicolon at the end.
I'm doing a really simple script and keep getting the syntax error how should i go about fixing it.
(9,18)
pragma strict
var rotationSpeed = 100;
function Update ()
{
var rotation : float = Input.GetAxis ("Horizantal") * rotationSpeed;
rotation *= Time.deltaTime;
Rigidbody'AddRelativeTorque' (Vector3.back * rotation);
}
Comment
Answer by djpiper28 · Jan 16, 2016 at 05:29 PM
Judging from the (9, 18) I believe that the error's on the 9th line and I can't see that.