Hello all
Aphrodite can you or anyone please show me how to make the camera move to different positions smoothly then stick every tic to the player until i move it to another place.
My game is platform and the player will fall from height places and jump...etc.
I'm using this global variable :
Position = 0 --------- camera set position to : lerp(Self.X, Player.X+200, 1*dt)
Position = 1 --------- camera set position to : lerp(Self.X, Player.X-100, 2*dt)
......etc
And because of (x*dt) the camera will not stick 100% in the place.
And if i deleted the (x*dt) or make it more less the movement between positions will not be smooth.
Thank's for any help