Hi Mathijs90,
One way you might approach this is with a custom variable to represent the turning rate.
I'll call this variable "turnRate".
You can think of this variable as keeping track of the steering wheel position, with "0" meaning centered, positive numbers steering right-wards, and negative numbers steering left-wards.
The events that allow the player to control this variable should do the following:
When you hold RightArrow the turnRate value will gradually increase up to a cap value (e.g. +300),
and when you hold LeftArrow the turnRate value will gradually decrease down to a cap value (e.g. -300).
When you're not holding any keys, the turnRate value will gradually move towards 0.
To get the Car behavior to use this variable for steering, you'll first need to disable "Default Controls".
In the layout, select the car, and in the car's properties, in the section Behaviors > Car, find "Default Controls", and set it to "No".
This disables the automatic key bindings that control the car.
Don't worry, you can manually recreate these key bindings with events, using the car's "Simulate Control" action.
Recreate the key bindings for acceleration and breaking as follows:
UpArrow is held down: For Car: Simulate Control - Accelerate.
DownArrow is held down: For Car: Simulate Control - Break.
To link the turnRate variable to the car's steering create the following events:
Every tick: For Car: Set steer speed to turnRate.
Every tick: For Car: Simulate Control - Steer right.
It looks weird, but what's going on is that the car now always thinks it's steering to the right, but by the amount stored in the turnRate variable.
When turnRate is positive, the car will turn right.
When turnRate is negative the car will turn left. (a "negative" right turn)
And when turnRate is 0 the car will go straight.
As a final thought, you may want to make the turnRate return to 0 much faster than it gradually climbs away from 0, i.e. when turning left or right. Even though realistically, a human driver really would have to turn the steering wheel back to center manually, for a game, the controls will probably feel more responsive if the return to center occurs in a fraction of a second.
This rapid return to center should obviously take effect when a player is not holding a turning key, but it should also occur when a player is holding a turning key that is currently turning the wheels back to center. In that latter case, once the wheels get back to center, (and the key is now turning the wheels away from center), the steering can go back to being more gradual.
Hope that helps.