-
Hi! In my ldtk project I made an enum "collider" that defines different shapes of collider for my tiles. So I bound those different collider shapes to different tiles in my spritesheet but I don't know how to access those bindings in my code:
How can I do that? Maybe my approach is just wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The plugin should automatically spawn a component called So you should be able to access that component in your |
Beta Was this translation helpful? Give feedback.
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-componentsSo you should be able to access that component in your
collider_tiles
query