PunishedPineapple / WaymarkPresetPlugin

Dalamud/XIVLauncher plugin to manage waymark presets.
MIT License
38 stars 16 forks source link

Y,Z coordinate are interchanged #19

Closed jackiexyz closed 2 years ago

jackiexyz commented 2 years ago

image It should be 0,10,75 instead of 0,75,10

PunishedPineapple commented 2 years ago

It's correct as it is, unfortunately.

The game uses a right-handed coordinate system where the X axis is East and West, the Y axis is up and down, and the Z axis is South and North. When you're viewing the map, you're projecting the XZ plane into a 2D coordinate system where the X is East and West, and Y is South and North.

The game obscures this when it presents its fake, scaled coordinate system in \<pos> and \<flag> chat links, and in the coordinate readouts on the map and minimap windows, but I'm not willing to do so, sorry. Anyone manually editing the coordinates of waymarks should probably have a basic understanding of the game's coordinate system anyway.

I might put in a help marker that explains the coordinate system though, so I'm going to leave this issue open as a reminder to look into where would be best to add that.

PunishedPineapple commented 2 years ago

A help marker was added to the map view window in v1.3.2.0 that explains the coordinate systems used.