Im using the tutorial on ''Moving the player'' and many of the codes he use in the tutorial don't work at all when i try.
Answer by tvance929 · May 25, 2016 at 03:23 PM
Why is Vector3 not showing up as a class?
There was alot i didn't understand, but in the video he changed the Vector3 to ''movement'' so i did aswell. Just deleted it and started over again, after all repetition will just make me learn faster :)
I can't remember off top of my head but I'm thinking you might be missing a using statement (but I might be wrong). Vector3 is a class and should be blue.
Yes you might be right. I will look in to it when i have more time, need to go to work now. Thanks for the replies. :)
Answer by Sneggletti · May 25, 2016 at 02:03 PM
As you can see in the picture, the Rigidbody, Vector3 and Input dont do anything. i tried with lowercase and uppercase letters, but i still get an error when i try to ''play'' it in Unity.
I'm using the free version if that helps. :)
''The associated script can not be loaded. Please fix any compile errors and assign a valid script.'' It shows up when im in Unity underneath C# option.
Answer by DarkApps · May 25, 2016 at 02:04 PM
Be sure you add the script to the ball game object....
I did and it says ''The associated script can not be loaded. Please fix any compile errors and assign a valid script.''
In your code there is an error in rb check it