Iv been following burgzerarcades hack and slash tutorial but i keep getting a parsing error,im a modeller and not a scripter so i dont know much about this,please help here’s the script o yeah i know that the last bit is the same but i dont want to continu untill i find a awnser to this error, THANKS PEOPLE!!!
using UnityEngine;
using System.Collections;
[RequireComponent (typeof(CharacterController))]
public class Movement1 : MonoBehaviour {
public float rotateSpeed = 250;
You didn’t even take the time to share the error, but that is one obvious mistake.
“Pleaseeeeeeeeeeee!” Use the code tag, share the actual error, and don’t be dramatic. Actually, try to write like you give a damn about your audience, you’re asking for help here.
ok sorry,thanks man in the future ill try not to be so dramatic,but iv posted some other questions in the past, like a normal human being only they never got awnsert, sorry for my english its my 2 language but either way thanks
Claiming ESL for writing like a fool is offensive to the many people who are ESL here and write like adults that wish to be taken seriously. Unless you are in fact suggesting that I should think all Spaniards are incapable of acting mature and communicating with respect for their audience, a position I happen to know is untrue as I’ve been to Spain and found plenty of people who aren’t deliberately dramatic.
Usually, if your question didn’t get answered it’s the fault of the poster. The common offenses are: writing like an idiot, asking vague questions, or not bothering to provide information about the problem. People are not going to go out of their way to help people who are making it difficult (or just annoying) to help.
BTW, since you use Input.GetAxis(“Rotate Player”) six times, you should probably just call it once and put it on the stack at the start of your Update();
How about actually pasting the error message with line numbers? Remember what I said about people not giving all of the information they have, but wanting help?
Why are you calling this twice? Also it looks like your closing curly-braces aren’t enough in number for everything you’re opening. You have six { and 4 }.
Whether you use “public float rotateSpeed = 250;” or “public float rotateSpeed = 250f;” makes zero difference. It’s still a float, with a value of 250. Assigning an integer value to a float doesn’t somehow turn it into an integer.