Godot Version
4.2
Question
I have this follow_player() function that uses lerp to make an object follow the player on the X-axis:
The problem is that it only applies the offset in the positive direction (when the player is moving right). If the player moves to the left, the object collides with the player. How do I apply the offset to both directions?