Addon [1.12.2] [Zollern Galaxy Development] Having trouble when zooming in on map...

Zollern Wolf

Member
Aug 17, 2019
36
4
8
31
For some reason - and this only happens with my planets, moons and stars, so I know it's me - when I try to 'zoom in' on any of my celestial bodies, it takes me to what looks like either the middle of the screen, which I then can't zoom out of, or off to the side. The moons and space stations are actually there, I did discover that yesterday, however I can't seem to understand what could be causing this. If anyone has any suggestions, I'm certainly open to them and would be most grateful. I'd like to get this fixed so that the players of my mod can actually enjoy this like they're supposed to. My working theory is that it has something to with phase shift and relative size, but I have no idea how to set that correctly.

Here are a couple of useful links on my GitHub...

https://github.com/alphawolf918/Zol...n/java/zollerngalaxy/celestial/ZGPlanets.java <-- This is my list of stars/planets/moons/etc., and is where I set the appropriate values.

https://github.com/alphawolf918/Zol.../zollerngalaxy/celestial/ZGPlanetaryBody.java <-- This is where all Planets extend from.

https://github.com/alphawolf918/Zol.../java/zollerngalaxy/celestial/ZGMoonBody.java <-- This is where the moon extends from (only one currently).

https://github.com/alphawolf918/Zollern-Galaxy/issues/65 <-- This is a brief summary of the issue. I started with the space stations until I realized that they weren't actually the problem.

Maybe it's an order thing? I don't know. But please help if you happen to notice anything that might cause this. There are other things that I'm aware are probably not the best practice, and I will get around to those, however I am only interested in why zooming in does not appear to function correctly.

Thanks in advance.
 

Zollern Wolf

Member
Aug 17, 2019
36
4
8
31
Disregard, this has been fixed and will be in the next release. Seems the issue had to do with me allowing the config to set actual coordinates, so now they'll use offsets instead.