In my game, I’ve encountered a problem where enabling physics interpolation causes a “jittery” effect when moving the ground sprite. I’m moving the ground sprite within the Process
function. How can I fix this?
func _process(_delta: float):
`if game_running:`
`scroll += SCROLL_SPEED`
`scroll_background += SCROLL_BACKGROUND`
`if scroll >= viewport_rect.end.x:`
`scroll = 0`
`Ground.position.x = -scroll`