Skip to content

Get Enum value associated with tiles #314

Closed Answered by Trouv
Ggcpp asked this question in Q&A
Discussion options

You must be logged in to vote

The plugin should automatically spawn a component called TileEnumTags on your tile entities in this scenario: https://trouv.github.io/bevy_ecs_ldtk/latest/explanation/anatomy-of-the-world.html#tile-metadata-components

So you should be able to access that component in your collider_tiles query

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ggcpp
Comment options

Answer selected by Ggcpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants