03/02/23 - Unity Work

Then, within our main folder options, we opened our Scripts folder, and within this, created two new folders named Movement and Camera Movement, and within these we would create the programs to move our character as well as how the camera can move and see different things.
We then had to open the coding software Visual Studio, and had to type in our code, which would allow our character to have movement. This meant that our character would be able to move forwards, backwards, and side to side. After this, we had to open the coding software in our other folder, to allow camera movement, so that our characters could look around.
We then returned to our movement folder code, and added in the code that would allow our character to crouch and sprint, by changing the speed and height of our characters, being applied only when a certain button is pressed.
To finish off the lesson, we had to make a basic obstacle/parkour course on our project world, to trail all of our code, to make sure that all of the features that we added into it worked well.


Comments
Post a Comment