I have a KinematicBody2D object with this simple script:
When the object collides with another object (whether it's a static or rigid body), it teleports back some non-fixed distance. Here's a gif--the moving object is the Kinematic, the object it's hitting is a rigidbody, and the third object is a staticbody:
Gif of problem
None of the other objects (sprites, physics bodies, or collision shapes) have scripts attached to them. I've already restarted Godot, deleted every object and tried again, and changed all the collision shapes, but the same thing happens every time.
Any ideas at all why this could be happening and what I can do to fix it?