Adding Momentum to Missiles

Okay so I have a space ship thats firing missiles. I am using Ridgidbody.AddForce to control the ship.

When I fire a projectile I want to add the speed (or momentum) of my ship to the missile, otherwise the faster I travel the missile leaves my ship and either I crash into it, or it trails behind me.

Any ideas?

The projectile has a Force variable that applies an AddForce to it once it enters the scene.

You could set the velocity of the missile the same as on your ship, then apply impulse force in the direction you want to shoot it at to give it a slight boost. Then keep adding relative force every FixedUpdate for that missile.

public float forcePerSecond = 10.0f; 

void FixedUpdate()
{
    rigidbody.AddRelativeForce(0, 0, forcePerSecond * Time.fixedDeltaTime);
}