wheel collider instant velocity stuff

Hi, I have an issue someone could help me with.
I’m making a sort of car game to teach physics and I need to make a car to move at certain fixed velocity, need the car to, as soon as I hit play, to have let’s say a vel of 50 km/h.

I’ve been working with the wheel colliders but can’t make it start at a certain velocity, the car has to “reach” that vel.
Maybe I’m asking for an unphysical solution…

I’ve tried this:

but it doesn’t compile in c#, some variables seem to be read only…
Anyway that would be a nasty solution
Any help?
Thanks

A translation of the JS code to C# (untested):

void FixedUpdate () 
{
    if (Input.GetButtonDown ("Jump"))
    {
        Vector3 v = rigidbody.velocity;
        v.y = 10;
        rigidbody.velocity = v;
    }
}

I don’t see what’s nasty about setting the velocity to 50. From your description, it appears to be exactly what you want to do.

Thanks Tom, tested that in c#. What happens is that the car doesn’t slow down… :?:
I put that script in the Awake method, not the Update. So, why wouldn’t it slow down?. It’s like there’s no friction.
I mean, I can slow it down if I press reverse and the wheel collider do it magic, but it doesn’t stop by itself.
By the way, I’m working with de buggy script that looks more clear.