I’ve this strange problem in a game 2d with orthographic projection mode. If the camera is attached to “Pawn” all works well…
If the position of camera is absolute and I update the position of it each Tick with the Pawn position, the pawn is vibrating…
Why?
The Pawn texture is 512px x 512px and I’ve set the sprite as 8 pixel per unit.
Could it be that it is the camera’s position that’s vibrating making it appear as if the pawn vibrates? Do you have any background/environments that also vibrate or are those as expected?
I’ve the floor composed by multiple sprites joined each others, when I execute the game sometimes (and for short time) I can see the line where the textures are joined (as the image show)…
If I remove CameraComponent->bAbsoluteLocation = true; and all code that update the position of camera each Tick the vibrating of pawn disappears but remains the problem of floor…
Probably the problem is on the code of the camera location updating that is in the Actor Tick function.