Open adrien-bon opened 2 months ago
Is the collider spawn in different space is the same bug?
Hex has the same bug
No, I don't think it's the same bug. This issue is to track the support for "staggered" isometric map, which currently do not render properly (tiles are all messed up). In your case, the render seems to be correct.
What you observe looks like to be an issue with colliders and objects position. It's a different thing.
~~I bet you are using "infinite" maps: I know they are not well supported right now for isometric and hexagonal orientations, but I did not do extensive testings. Can you please confirm you are using an infinite map in you screenshot ? If so, I'll open a dedicated issue to track this bug.~~
After verification, it's not an infinite map, I'll open a dedicated issue for this.
When loading an isometric "staggered" map, tiles do not render properly (issue with
bevy_ecs_tilemap
or the way we use it ?) and objects placement is messed up. See 2nd map ofexamples/iso_map.rs
Since it looks like to be not so easy to fix (not well supported by
bevy_ecs_tilemap
? multiple combinations of stagger axis/stagger index) and we already have the isometric "diamond" map with the same characteristics, I won't fix this for now.I added a warning when an user tries to load such a map so he is warned!
Here is an example of the issue: