Hi, I wanted to know how to stop the camera lerp, using this post scirra.com/tutorials/626/making-a-smooth-following-camera
Setting:
X: lerp(Self.X, Player.X, 0.03)
Y: lerp(Self.Y, Player.Y-150, 0.03)
To
X: lerp(Self.X, Player.X, 0.00)
Y: lerp(Self.Y, Player.Y-150, 0.00) when the player is greater than x position. With no hope, any help on how to stop the camera's movement when the players x is greater than x position.