Controls: WASD or Arrow Keys to move forward/backward or rotate left/right

Purpose of Car Simulator Prototype:

  • Write a script that allows users to rotate and move a vehicle forward
  • Have the camera follow the vehicle
  • Create solid obstacles roll when collided and have gravity acted upon them

Methodology:

  • C# Scripting in Visual Studio:
    • Use Vector3 or transform to move the object forward and camera follow
    • Use Input.GetAxis to get user input
  • Unity
    • Add RigidBodies to objects to utilize Unity's physics engine

Plans for future improvement:

  • Movement should be based on wheel's rotation, so the vehicle cannot move when flipped over
  • Camera should rotate when the player rotates

Leave a comment

Log in with itch.io to leave a comment.