var speed = 10;
This is all I know. I am 15 and could you please give me hints. Also what does Super() do?
Just a simple set foward please
These should get you started:
the paste 3 days i have been learning.
transform.position += transform.forward * 10 * Time.deltaTime;
the function update makes it occur once a frame and if you assign W to w in inputs in editor, you can use that. transform.position gets the script’s parent’s (on the thing that the script is attached to). += adds a value, and were going to add a value going forwards 10 blocks for each system frame.