UCE0001 even though i got the semicolon right (i think)
i was making a game through this tutorial (ill link it) and even though it worked for the guy on the tutorial it doesnt work for me the mono devolop asked me to accept something and i did but it was a wrong choice i guess so if somone knows anything about it please help me this is the link: https://www.youtube.com/watch?v=N49cfP-MWJA this is the code:
#pragma strict
var rotationSpeed = 100;
this code is for making a ball move right and left
function Update ()
{
var rotation : float Input.GetAxis ("Horizontal") * rotationSpeed;
rotation *= Time.deltaTime;
rigidbody.AddRelativeTorque (Vector3.back * (rotation);
}
Answer by meat5000 · Oct 16, 2015 at 02:26 PM
Missing an =
and a )
Ill leave it to you to work out where ;)
Edit: Ok here they are :) (Good job in finding them)
var rotation : float = Input.GetAxis ("Horizontal") * rotationSpeed; // = here after float
rigidbody.AddRelativeTorque (Vector3.back * (rotation) ); // Last ) here
i uped ur reputation just cuase i friking love u man i sat on ma butt for hours to figure this out im only starting to do all this stuff and now that i know that there are people like you who will help me when i need help im even more hyped about this thanks man!!
yea i did thanks even though i couldnt at start u telling me whats the errors but not where will definitly help me in the future, thanks.