I tried different combinations. but i do not get Lerp working. it keeps complaining about things. And no example line available. So am lost.
Am stuck with this error.
This last code i tried. Vector.Lerp is possible wrong. But i tried other combination is and that is failing to.
Vector StartPos = new Vector(0f,0f,0f);
Vector TargetPos = new Vector(10f,0f,0f);
Vector CurPos = RigidBody.GetPosition();
CurPos = Vector.Lerp(TargetPos, 1.0f);