(Yesterday, 01:16 PM)IahimD Wrote: Can you also preview the Tau-23 corridors? Less impact full from a gameplay perspective, but totally messed up.
Also, a clarification: Kepler corridors are visible; they just lack plane coords. Omega-97 corridors are... less clear
Apperently the source of issue in some objects having X,Z rotations at zero and fully controlled by Y, we set them right as having angle `-Y` in 2D map
And some objects having `rotate = -180, 27.1180854357753, 180` flipped inverted positions due to X,Z rotations set to like 180 degrees opposite rotation, so we get `Y` the opposite solution
The hackish solution above should solve it for now
If someone is math smart enough (or i will figure out some day), we could be having ideal written solution that extrapolates 2D rotation angle from full X,Y,Z rotation angles always correctly. Requires finding formula for that
We can try finding it, with `/pos` command in game we can find out how ship rotates
Code:
ok. so 0,0,0 rotation it is on plane directly looking to north
0, -90, 0 , looking to right of map, slightly below map
going with head to below from looking initially at north at plane, i get -90, 0,0
rotating myself to left entire ship from looking intially to north at plane, i get 0,0,90
looking to up, from initial looking at plane to north, i get 90,0,0
But i did not figure out yet math, may be someone else will?
It is not technically obligatory for correct map working, simple encoded guard can work too (original navmap worked on similar more simple guard checks fine)
Just could be nice to do in order to have mathematically always correct solution
If someone will figure out, the math should be solved by this function for example and at least those tests satisfy (more can be written to fully check it)