Delivered
Git Repo: https://github.com/Dennissssa/Delivered
How to play:
Up Arrow: Accelerate
Left & Right Arrow: Direction
Space Bar: Brake
Coding Techniques:
Navigation for the AI is handled by NavMeshAgent, which enables the AI agent to intelligently follow the position of the car.
The car's state is managed by setting the currentSpeed variable and applying acceleration, braking, and speed decay logic in the Update method. This approach makes speed changes clear and easy to debug.
Use Mathf.Clamp and Vector3.Translate to limit the car's speed and motion. This ensures that the car's motion follows the real-world physics model and does not exceed the maximum speed.
Planning To Do:
Bigger maps
Map designs better fit with the nav mesh ai
Status | Released |
Platforms | HTML5 |
Author | Dennissssa |
Made with | Unity |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.