Calculating translation speed?

Hello. As the reference example says, using this code will translate an object forward 1 unit, but what if I have some odd values for how fast I want the object to move? Example: I want an object that is scaled (.5,.5,.5) and I want it to move 2.3 units forward every 5 seconds? * I know there are ways to move an object to a specific point in a specific amount of time (such as iTween or this), but I want to be able to have that object reach that point in a specific time…but then keep moving along at that speed. Thanks

function Update() {
    transform.Translate(Vector3.up * Time.deltaTime, Space.World);
}

Thanks

This is really simple math. You need a rate:

Distance = Rate * Time

Solve for rate:

 Rate = Distance / Time

So you need to move based on your rate:

var distance : float;
var time : float; 
function Update () {
       transform.Translate( Vector3.up * Time.deltaTime * distance / time , Space.World);
}

For your individual example set distance to 2.3 and time to 5.

And that should solve all your problems.