How to get custom data tile map easy #8606
FreedomHolland
started this conversation in
2D
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm wondering what code I can use to combine rayCast to give me the custom data of a tile below the player or anywhere that the raycast interacts with.
I have seen a tutorial but It's really not modular or even just a pain in the ass to code and keep your code clean. You need to create a function for every custom data you want to get from your tileMap. Is there a trick I'm not aware of ?
greetings,
It would be awesome if godot could implement a way to return custom data from a tile ! This would improve workflow so much, plus it would give you a ton of options to trigger function based on the block ! And you can literally paint in blocks with functions !
Beta Was this translation helpful? Give feedback.
All reactions