0 votes

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)
https://ibb.co/J2btyf2
The gridmap cells have a size of 1.6, matching the obj size.

What am I doing wrong?

in Engine by (17 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.