I'm currently following the FPS tutorial from the official site. By the end of Part 1, there is a Player object implemented as a
KinematicBody and controlled by player input, and a few cubic blocks scattered around, implemented as
KinematicBody is moved with the
move_and_slide function that takes
static colliders into account, so the player is able to stand on the floor and bump into walls.
However, the player can't bump into or stand on the cubes. If you attempt to jump onto a cube, it will slide from under you. If you try to push a cube into a wall, it will glitch around a little, then slide away, without even slowing you down. The cubes have no power to stop the
KinematicBody from moving through them.
How can I change the behaviour to make it possible for a
KinematicBody to stand on a