I have a gameObject and which starts out at -13 in the Z position and I want it to end at 1.5 in the z position
var myObject : GameObject;
function Update ()
{
iTween.MoveUpdate(myObject,{"z": 1.5, "time":8, "onComplete":"SideLeft"});
}
It starts out fine and almost gets to 1.5 but seems to stop just before the end? here are some of the end positions:
1.499995
1.497407
1.499995
1.499998
It seems like it has taken a minute to get from 1.499995 to 1.99998 but never gets to 1.5?
And Im still confused as to why the animation or movement of the object starts out fast and then slows at the end? Nothing I try gets the animation or movement of the object to go from -13 in Z to 1.5 in Z at the same speed?
Anyone have any clues as to how to solve these problems?