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

Don't allow transforming scene tiles #81971

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Sep 20, 2023

Fixes #81918
image

editor/plugins/tiles/tile_map_editor.cpp Outdated Show resolved Hide resolved
@akien-mga akien-mga merged commit fb4c0cf into godotengine:master Sep 21, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the there_is_only_one_scene branch September 21, 2023 13:02
@ettiSurreal
Copy link
Contributor

Just to make sure, is this temporary, or is the ability to transform scene tiles not planned whatsoever?

@KoBeWi
Copy link
Member Author

KoBeWi commented Sep 21, 2023

It was discussed here https://chat.godotengine.org/channel/editor?msg=zKCnZFgvEBovXWoJd (you need to wait a bit for the message to load)
For now there are no plans, as it's not that straightforward. Only rotation then be added somewhat reliably, flipping could be achieved with scale, but it shouldn't be used for physics objects. Another thing is that reserving bit for rotation will limit the number of scenes you can put in a collection (they rely only on alternative IDs).

@groud
Copy link
Member

groud commented Sep 21, 2023

Just to make sure, is this temporary, or is the ability to transform scene tiles not planned whatsoever?

It could be done, but a bit technical to implement (and has some annoying drawbacks, like the impossibility to animate the scene position). So for now the simple solution is to disable it, even if it could maybe be implemented later if there's enough demand for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rotating and flipping tiles doesn't work with Scene Collections.
4 participants