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

Object collisions are no longer positioned correctly in the Y in Godot 3.5. #163

Open
svendixon opened this issue Aug 6, 2022 · 0 comments

Comments

@svendixon
Copy link

Plugin version
Latest v2.4, Godot v3.5.stable.official
Downloaded from GitHub

Issue description
Object collisions are no longer positioned correctly in the Y.

This might be similar to #114 which was fixed. A similar solution can be made here too. In the tiled_map_reader.gd add an else: at line 554. This will solve this issue until you wish to officially fix it.

tiled_object_collision_offset_bug_code

Steps to reproduce

  1. Create a tile map and tile set in tiled.
  2. Assign collision to the tiles.
  3. Create an object layer.
  4. Insert a tile.
  5. Right click the object and save it as a template. (if you don't do this the importer will not make it a StaticBody2D with collision?)
  6. Save the map.
  7. Open in Godot.

Sample map or tileset
TiledObjectCollisionOffsetBug.zip

tiled_object_collision_offset_bug

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

No branches or pull requests

1 participant