The is the code I’m using:
#pragma strict
var rotationSpeed = 100;
function Update ()
{
var rotation : float = Input.GetAxis ("Horizantal") * rotationSpeed;
rotation *= Time.deltaTime;
Rigidbody.AddRelativeTorque (Vector3.back * rotation);
}
and this is the error that shows up:
BCE0044: unexpected char: 0xFEFF