Why is the player sliding along Gridmap-Tiles?

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

Hi,

I’m making first steps with godot and playing aroung with 3D Nodes. What I did:

  • created and axported a 16x16x16 block grass.obj in Magicavoxel
  • imported this obj in Godot
  • auto-added Convex Static Body to this mesh (ConvexPolygonShape)
  • converted to meshlib
  • started to create a gridmap
  • same thing with a player mesh
  • added a camera
  • added movement script

So when playing the project, the player can walk freely on the floor, but when he reaches the edge between to tiles, he strafes along that border or slowly stumbles to the neighboring tile.
(see gif)

The gridmap cells have a size of 1.6, matching the obj size.

What am I doing wrong?