I am trying to use the superb GridMap in Godot 4 beta 5.
I have, so far, only 2 different types of meshes in my MeshLibrary.
- 1x1x1 cube
- 1x1 plane
My intention is to use the plane as a floor
All meshes were designed in blender, exported with GLTF 2.0, and their scales are all set to 1 and applied. They all seem to import perfectly.
This image illustrates my issue. On the left, you can see the cube and the plane as child nodes of the root node. The bottom of the cube and the plane are aligned with y = 0. On the right, the sames meshes, only in a GridMap. You can see that the cube is correctly positioned, but the plane is centered in it's cell in the x, y and z directions. Obviously, only the Y causes an issue.
If I untick "Center Y", the plane aligns properly but then the cube is 0.5m too low...
I'm not sure I'm phrasing the question correctly but:
How can I make sure the origins of all the meshes are aligned with the y=0 plane of the GridMap?

z >= 0. \$\endgroup\$