I have been having this issue for a second day in a row. I’m using JBox2d for my game physics. In the game the camera is supposed to be on player. The problem is that box2d needs constant deltatime to update properly, and I’m not expecting very constant frame rate since the game is supposed to be played on mobile devices. To combat the issue of objects flickering while moving and jumping at non constant frame rate I implemented this:
http://www.unagames.com/blog/daniele/2010/06/fixed-time-step-implementation-box2d
I made a small test game and the results seemed to improve when running at different frame rates while targeting 60 ups. The method in the link above seems to work nicely on standalone objects, but when the camera is following the object, you start to notice the stutters on the object which are not visible when only object is moving.
Any ideas how to make smooth camera motion to follow the player?