It is necessary to put in order the system of commands for AI and the pressing of control keys of the vehicle, in accordance with the current state of the vehicle.
Under the spoiler - Keys and Commands, for different states of the vehicle.
The reason is to change the existing system of keys and commands in the following:
- For the keys "forward fast / slow" and "back fast / slow" add the commands "forward fast / slow" and "back fast / slow".
- When the vehicle continuously moves forward / backward, commands to the left / right stop the vehicle after adjusting the movement left / right. This makes it necessary, after correcting the rotation, to repeat the command - "fast / slow forward"
- When the vehicle continuously moves forward / backward, the back / forward commands stop the vehicle, but the AI command does not sound like "Stop", it sounds like backward / forward. It is distracting, it seems that you are giving a wrong command for AI.