@georgi - an update as I’m progressing through your tutorial:
In the following bit of code you explain:
"There are couple of important things going on here:
- FixedUpdate() is frame rate independent and should be used when working with Rigidbodies.
-
This loop checks to see if any of the input keys were pressed.
- Here you get the direction for the pressed key, multiply it by the acceleration and the number of seconds it took to complete the last fixed frame. This produces a vector that you’ll use to move the Player object."
The highlighted words and phrases above are dropped onto the reader without follow-up context or explanation. I want to point out one in particular though, when you say, “This loop”… What loop? Where is a loop being formed? And how?
I would have liked an image with some arrows pointing out what you meant and where it is that one thing is looped to another. Still, I don’t know what this is.
Later, you will write, “In FixedUpdate(), before the closing brace of the if-statement, add the following line::
movePlayer(movement);”
I’m not sure exactly where you want this, and even though you may think what you’ve written is clear, an image showing us the final code would have been crystal clear.
I tried a few variations on putting this code where you I thought you meant for me to put it, but in all cases when I run the game I get this:
“All compiler errors have to be fixed before you can enter playmode!”
My progress through this tutorial has now come to a reluctant halt because there is no final code that I can compare what I’ve written to what I should have written, and then to repair the errors that I (quite naturally) made.
The ideas I’ll criticize here is that this tutorial assumed too much, to the point where the last assumption (which ended my progress) was that I had done everything right and never needed to see the final result of the code for me to check against.
This leaves me discouraged, and feeling as if I am stupid, whereas I would have loved to have spent the time to get this right and fix my errors, and not left feeling utterly defeated.
This is EXACTLY the type of tutorial that beginners DON’T want. Something that will confuse them and leave them feeling defeated and discouraged from trying again.
I would encourage someone, not necessarily georgi, to ammend this tutorial so that VR enthusiasts can begin their progress through Unity with ea
se.