I’m trying to implement some kind of entity following mechanism (e.g. a seeker missile or a plane following another one). I thought it would be a quick and easy solution to use a position lerp on the following entity. But since I try to make it work when the followed entity is moving it keeps getting more and more hacky (changing the end position in a task while the entity is moving and other nasty stuff).
Now, my question is can I change the duration of my pos-lerp so that the following entity doesn’t speed up in the process of trying to catch up to the other?
Or do you propose a totally different approach?
Just to clarify, I initially chose a lerp because it appeared to me it was really easy to make the follower lean into a curve etc. while chasing…