Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gridmap does not display all children of a tile #3818

Closed
furkanoeztuerk opened this issue Jul 20, 2020 · 2 comments · Fixed by #10414
Closed

Gridmap does not display all children of a tile #3818

furkanoeztuerk opened this issue Jul 20, 2020 · 2 comments · Fixed by #10414
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement

Comments

@furkanoeztuerk
Copy link

Godot version:
v3.2.2.stable.official

OS/device including version:
Windows 10

Issue description:
The gridmap does not display all children of a tile. Only the first meshinstance is displayed, the rest is ignored.
Here is how the tiles scene looks:
pic1
There is one parent node, with two meshinstance children. The first child is a sphere, the second child a cube.

Here is how they look when used in a gridmap:
pic2
Notice how only the first meshinstance (sphere) is displayed.

Steps to reproduce:

  1. Create tilemaps
  2. Convert tilemap scene to meshlibrary
  3. Use meshlibrary in gridmap

Minimal reproduction project:
Gridmap Bug.zip

@furkanoeztuerk furkanoeztuerk changed the title Gridmap does not display all children of tile Gridmap does not display all children of a tile Jul 20, 2020
@TheDuriel
Copy link
Contributor

TheDuriel commented Jul 20, 2020

Each item im the library only contains one Mesh, this is intended. Should be part of the associated tutorial no?

@KoBeWi
Copy link
Member

KoBeWi commented Jul 21, 2020

Yeah, the tutorial doesn't really clarify it. It just tells you to download the demo and doesn't even show the basic meshlib tree. I'll transfer it to Godot docs, because it's intended behavior.

Also the Parent node is unnecessary. Your meshes should be directly under root.

@KoBeWi KoBeWi transferred this issue from godotengine/godot Jul 21, 2020
@skyace65 skyace65 added the area:manual Issues and PRs related to the Manual/Tutorials section of the documentation label Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants