Space between kinematicbody2d and tiles apear.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Edgar Vakhitov

I am working on game, basicly it there are three floors and you can swipe between floors.

image
link to image

But after game runs few minutes strange space between player and floor apears.

image

link to image

The weirdest thing is that even I put wrong y in position there is gravity and it should go down to floor as it do on beggining,

Could you post the code for swiping between the floors? Also you mentioned gravity, is it a RigidBody or a KinematicBody using move_and_slide(gravity)?

Magso | 2020-04-30 09:41