Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Setting is_visible to false on the tilemap entity does not cause the chunks to hide. #154

Open
StarArawn opened this issue Apr 15, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@StarArawn
Copy link
Contributor

Bevy Tilemap version
0.4

Operating system & version
Windows 10

What you did
Use a system to change the Visible component of the tilemap.

What you expected to happen
It should no longer render the tilemap.

What actually happened
Tilemap still renders.

Additional information
This might be related to:
bevyengine/bevy#838 ?

@StarArawn StarArawn added the bug Something isn't working label Apr 15, 2021
@joshuajbouw
Copy link
Owner

joshuajbouw commented Apr 17, 2021

Oh shoot, that should've propagated down. I'll probably need to add an example to ensure that we can test that in the future. Might be related to the issue you linked.

@StarArawn
Copy link
Contributor Author

StarArawn commented Apr 22, 2021

Another side issue related to this is the inability to set which render layer the chunk is apart of, I might open up a PR for these things, but I'm not sure what an API for this would look like... 🤔 One thing that works as a workaround is to just despawn the chunks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants