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

Godot4 export not exporting colliders properly #3945

Closed
Charanor opened this issue May 12, 2024 · 2 comments
Closed

Godot4 export not exporting colliders properly #3945

Charanor opened this issue May 12, 2024 · 2 comments
Labels
bug Broken behavior.

Comments

@Charanor
Copy link

Describe the bug
When exporting to Godot 4, tile colliders become translated / distorted. Note that almost all colliders are wrong, some seem to be properly exported.

I have attempted to delete and re-create the colliders, which doesn't seem to have any effect. Also tried re-creating tile sheets from scratch, exporting from scratch, the whole shebang.

Expected behavior
Colliders look the same in Godot as in Tiled

Media
Example 1:

  • Correct: No
  • Collider: Polygon
  • Animated: No
  • Collider count: 1

image
image

Example 2:

  • Correct: No
  • Collider: Box
  • Animated: No
  • Collider count: 1
    image
    image

Example 3:

  • Correct: Yes!
  • Collider: Box
  • Animated: Yes (all colliders are identical)
  • Collider count: 1
    image
    image

Example 4:

  • Correct: No
  • Collider: Box
  • Animated: Yes (all colliders are identical)
  • Collider count: 1
    image
    image

Example 5:

  • Correct: Yes!
  • Collider: Polygon
  • Animated: No
  • Collider count: 1
    image
    image

Example 6 (Super weird results):

  • Correct: No
  • Collider: Box + Box
  • Animated: No
  • Collider count: 2
    image
    image

Specifications:

  • OS: Windows 10
  • Tiled Version: 1.10.2
@Charanor Charanor added the bug Broken behavior. label May 12, 2024
@bjorn
Copy link
Member

bjorn commented May 13, 2024

This was probably fixed by #3862. Please try a development build to confirm, which you can obtain from https://github.com/mapeditor/tiled/actions/workflows/packages.yml?query=branch%3Amaster+event%3Apush, clicking a recently successful build, scrolling down to "Artifacts" and downloading the build for your system.

@Charanor
Copy link
Author

Yep that seems to have fixed it!

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

No branches or pull requests

2 participants