+1 vote

So I've been working in Godot for a little bit now and I just noticed an issue with my player when stationary. If the player's KinematicBody2Dis standing on two colliders (I'm using the default TileMap collision system). The player vibrates ever so slightly, and it causes visual tearing because the camera is attempting to follow these sub-pixel vibrations.

I assume this is some kind of floating-point issue as the collider from the player attempts to resolve two separate collisions, but the _velocity output on my kinematic body after a move and slide is (0,0).

So far I've verified that my Snap Controls To Pixels is toggled off, smoothing on the Camera doesn't do anything, and the problem doesn't manifest on single static bodies with a collider on the correct layer.

Footage of the jitter.
https://gyazo.com/a10193d4c61cc1474267746c0597e5e3

asked May 25 in Engine by John Dunham (13 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.