In a 2d sidescroller, I want something similar to how the ghost moves in the 'relic hunter' example. However, in my game the player can 'duck', and when they do I want the ghost to miss the player and fly past them, decelerate, and then accelerate back towards the player again. It doesn't seem like Follow behavior supports acceleration / deceleration like this. I also tried setting the ghost position to the player's using lerp to calculate the x/y, but the ghost starts to decelerate before getting to the player.
Thoughts on how to do this?
Thanks