Hello everyone,
I'm running into some problems. I created a camera using lerp with that: lerp(ScrollX, Player.X-Xcam, dt*speed))//lerp(ScrollY, ScrollTo, dt*speedY).
It's perfoming nicely expect that when an object is pinned to my player like a pop up dialog the lerp is causing it to tremble slighty left to right.
With the ScrollTo behavior it doesn't tremble. I also tried using 1-f^dt instead of dt*speed in my lerp formula but it's still trembling except when f=0 which kills the effect I wished to have.
I can't keep my camera effect without my objects pinned to the player trembling, is there a third party plugin or a formula which keeps the scrolling steady and not all shaky ? I hadn't see the problem until I pinned object to the player.
I only have a few days to find a solution so if someone has one I would be very grateful !