Page 1 of 1

[2.0.15] Inconsistent character's reach range when flying in mech armor

Posted: Sun Nov 17, 2024 10:06 pm
by Pat86
What did you do?
Noticed gaps when landfilling a lake by hand.

What happened?
When placing tiles, the maximum range is anchored to the character's sprite, not its actual (?) top-down position. As such, it keeps bobbing up and down. It also moves ~1 tile up when entering flight mode.

What did you expect to happen instead? It might be obvious to you, but do it anyway!
I expected all building actions to behave the same, regardless of whether I'm flying or not. This could cause inconsistent tile placement when I'm for example paving ground and have to fly over obstacles, e.g. rocks, trees.

Does it happen always, once, or sometimes?
Happens consistently, easy to replicate. Might need to tap W/S a couple of times to get into the sweet spot range on the Y axis.


In addition to tile placement, it seems like other actions are also affected, such as deconstruction, entity access and attacks.
I believe that character's range should be decoupled from its sprite/flying state and stay the same when flying or walking.

Re: [2.0.15] Inconsistent character's reach range when flying in mech armor

Posted: Mon Nov 18, 2024 2:22 pm
by Pat86
Can confirm that the personal roboport's construction range is also attached to the sprite, visually and functionally

Re: [2.0.15] Inconsistent character's reach range when flying in mech armor

Posted: Mon Nov 18, 2024 2:28 pm
by LCStark
[2.0.19] There's also a small issue with the minimap, where if you're at just the right Y position while flying in the mech suit, the minimap will bob up and down as well.


Re: [2.0.15] Inconsistent character's reach range when flying in mech armor

Posted: Mon Nov 18, 2024 3:35 pm
by Rseding91
Thanks for the report. These things are known behavior with flying and so far have been deemed acceptable.

Re: [2.0.15] Inconsistent character's reach range when flying in mech armor

Posted: Sat Nov 30, 2024 1:36 am
by Hares
Rseding91 wrote: Mon Nov 18, 2024 3:35 pm Thanks for the report. These things are known behavior with flying and so far have been deemed acceptable.
This closes GUI for entities if you are flying on their reach's end.
It took me a minute to figure out why this keeps happening.
Click to expand the video

Re: [2.0.15] Inconsistent character's reach range when flying in mech armor

Posted: Mon Dec 09, 2024 12:39 pm
by IsaacOscar
Yup, I just had this exact same problem when opening a chest, it was really annoying and took me a bit to work out what was going on.

I wouldn't expect this to be too hard to fix (e.g. by keeping track of how far in the air you are hovering, and subtract this from the players y position when computing the players reach and minimap display).