I would like to script the animated movement of an object between two positions. So there is the start vector and the end vector. The start and end positions are important, and the trajectory should look something roughly like in the image below, but it shouldn’t be too precise.
Because the end position should be a fixed one, I can’t really use rigidbody physics. I tried using Vector3.Slerp and Vector3.Lerp, but I couldn’t manage to get an acceleration at the end of the trajectory curve.
Could you please give me a few hints, as I forgot the math behind these things?
Thanks a lot!