• 3D
  • [SOLVED] Some questions about the gridmap

I have a few basic questions about the gridmap. I have attached an image for reference.

  1. What is the orange grid called?
  2. Is it possible to adjust the size of the orange grid? I would like to adjust the grid so that each square is the same size as one of my floor tiles.
  3. Is it possible to hide the "transform\orbit control?"
  4. What is the "transform\orbit" control actually called?

Thank you in advance.

@CT_Eagle said:

  1. What is the orange grid called?

To be honest, I'm not sure. A cell grid? Each element within each square in the grid is a mesh from a MeshLibrary resource, so maybe an index? Another thought is calling it a tile, or maybe a 3D tile, since the GridMap node is like a TileMap but in 3D.

  1. Is it possible to adjust the size of the orange grid? I would like to adjust the grid so that each square is the same size as one of my floor tiles.

You can adjust the size of each orange grid element in the size property, which you can find by selecting the GridMap in the dropdown called Cell.

  1. Is it possible to hide the "transform\orbit control?"

I'm not sure, but I don't think so. You can kinda make it disappear by choosing the list icon, next to the scale gizmo, and not selecting anything. I'm not sure if that would affect Gridmap placement or not though.

  1. What is the "transform\orbit" control actually called?

I do not know the official name, but I have always mentally referred to it as the "Spatial Gizmo", since it is a gizmo that only appears when dealing with Spatial nodes.

Thanks for your reply twisted.

WRT changing the grid size, I tried adjusting the x,y and z size under "Cell". When I change those 3 fields, the orange grid does not change size. Also, when I change those 3 values, my tiles no longer snap together. My tiles snap together nicely when I set all three sizes to 1.5. Anything else and they do not snap together. I have included some images to illustrate what I am seeing.

@CT_Eagle said: Thanks for your reply twisted.

WRT changing the grid size, I tried adjusting the x,y and z size under "Cell". When I change those 3 fields, the orange grid does not change size. Also, when I change those 3 values, my tiles no longer snap together. My tiles snap together nicely when I set all three sizes to 1.5. Anything else and they do not snap together. I have included some images to illustrate what I am seeing.

Strange, the grid changed size when I changed the cell size in my test project, though I didn't have a MeshLibrary loaded so perhaps that is why. Based on the screenshot, it looks like your tiles are 1.5 sized, or a multiple of 1.5, which is why it only works with those values. Everything being "exploded" out in the second screenshot shouldn't happen if the cell size is set correctly.

I took what you said about the my cells possibly being a multiple of 1.5 and set the cell size to 3. That did the trick. The orange grid expanded to the size of my tiles and all tiles are snapping together properly.

Thank you Twisted.