Controlling Particle System Local Velocity?

Trying to get an exhaust to work with the Vertical input, to control the velocity of the exhaust with the forward motion of the vehicle.

This is basically what I am trying to do-

/
/
/
public GameObject Exhaust;
	
	void Update () 
	{
	    if (Input.GetButtonDown("Vertical"))
		{
			 Exhaust.particleEmitter.localVelocity = Vector3(0,0,-2);
		}
	}
/
/
/

Is this the right way to go about it?

I got this to work some what, but it is matching the velocity of the rigidbody, which is fine, but it is the whole particle system following the rigidbody, not the velocity of the particles of the system.

/
/
/
 void Start()
    {
        theEmitter=transform.GetComponent<ParticleEmitter>();
    }

    void Update ()
    {
        if(inheritParentVelocity)
            theEmitter.worldVelocity = target.velocity;
        else
            theEmitter.worldVelocity = Vector3.zero;
    }
/
/
/

I altered the above a bit and I got a satisfying effect, but I want to know if this code is good, or is it hacked up??

/
/
/
void Start()
    {
        theEmitter=transform.GetComponent<ParticleEmitter>();
    }

    void Update ()
    {
        if(inheritParentVelocity)
		{
			theEmitter.worldVelocity = Vector3.zero * Speed;
		}
        else
		{
            theEmitter.worldVelocity = Vector3.zero;
		}
    }
/
/
/