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

[Bug]: Show wrong collision position with polyline collision from Tiled #495

Open
vynln92 opened this issue Mar 19, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@vynln92
Copy link

vynln92 commented Mar 19, 2024

What happened?

I created the tileset with Tiled and adding polyline collision to tile. I added to Bonfire project some collision show collectly. But for the polyline it placed in wrong position. Please check image below
image

Steps to reproduce?

child: BonfireWidget(
        ...
        map: WorldMapByTiled(TiledAssetReader(asset: 'tiled/map3.json'),
            forceTileSize: Vector2(tileSize, tileSize),
            objectsBuilder: {
            }),

Assets: https://drive.google.com/drive/folders/1wj-Myc2ew6zbKVcpKTj-qVhBV1KEaOYW

What did you expect to happen?

I expected the polyline collision show placed in correct position as Tiled preview

Bonfire version

3.6.1

Relevant log output

No response

@vynln92 vynln92 added the bug Something isn't working label Mar 19, 2024
@vynln92 vynln92 changed the title [Bug]: Show wrong collision position with polyline collistion from Tiled [Bug]: Show wrong collision position with polyline collision from Tiled Mar 19, 2024
@RafaelBarbosatec
Copy link
Owner

Hi @vynln92 !
Thanks for this report.
I'll analyze this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants