Hello.<br><br>
I'm making a platformer game and utilizing the KinematicBody2D as a base for my character controller.
<br>
The problem is that when character is on the moving platform, the whole thing jitters.
<br>
I mean that when the platform is moving up, character makes micro-jumps or just having tiny moments of free flight.
Same thing goes for the downward movement, but the gaps between the character and kinematic platform are much bigger.
<br>
Platform is moved by animation from the level scene ( as it is in the demos ).
<br>
I'm pretty much following the KinematicCharacter tutorial & demo but with a few changes.
<br>
Also, I'm using Area2D to create a "feet" of my character to precisely determine ( and count ) ground contacts and can't get rid of collisions between the character and it's Area2D.
<br>
The structure is:<br><br> <img alt="" src="https://s4.postimg.org/i3o7w5xdp/char_struct_screenshot.png" title="Image: https://s4.postimg.org/i3o7w5xdp/char_struct_screenshot.png"><br><br>My code for the character.<br><br>
<p>Console output:</p><p><img src="https://s4.postimg.org/fnszu8899/char_collision_output.png" alt=""><br></p><p>I believe that the solution for removing the jitter may reside in somehow "attaching" the character to the moving platform, but the "floor_velocity" approach from the demos doesn't work quite well ( jitter persists ).</p>