This week I worked on Alpha of my game. Continuing on from last week, my goal for this week is to get the car to jump over the other cars. But I firstly added a box collider and changed the size of it car 1 the first obstacle then added a rigid body I added the same to the second car. I then started to try and get the car to move forward and not just jump up and down this took a lot longer than I thought I thought how would I do this then I remembered the first unity tutorial, the truck and how to moved. I started by adding a transform.Translate variable.
to the playercontroller script the same as the tutorial. As you can see it did not work and the car kept doing flips.
I then added Time delta time to the script and vector 3 which made the car go forward. As can be seen in the image below the car came forward and is jumping over the other car. I then added *10 to make the car go faster The second Image is what the game currently looks like after changing the speed of the car. When I added all of these variables the player's camera went underneath the car which it did not before, I will need to find out how to change it. I tried different way to change the camera I will need to work more with the camera next.
Things I need to do:
- make the camera above the car
- make car not jump as high
- Add a car to chase as the prisoner
- Add more obstacles


