mojira.dev
MCPE-16615

"X" and "Z" coordinates are mirrored; "f" position is rotated 90° clockwise.

Previously, the issue was concerned about the Sunrise/Sunset cycle being from North/South respectively, instead of East/West (that may still be the case if the coordinate system is indeed correct).

However, the real issue may be that the "X" and "Z" coordinates may be flipped/warped; the "Z" (supposedly "X") coordinates (positive/negative-wise) are also mirrored.

The "f" position may also be affected as well (completely rotated 90° clockwise).

Linked issues

Attachments

Comments 9

[Mojang] Mega_Spud (Jay)

Ok, so in PC, travelling North is negative Z , so ten steps North from x0 y4 z0 will take you to x0 y4 z-10
In pocket edition, walking 10 steps 'North' (according to the direction of the sun and the sunflowers) will move you towards negative X instead.

Using Sunflowers and cobblestone, you can clearly see the difference (Note the pattern on the cobblestone, and that the Sunflower should be facing EAST):

[media]

This explains why when you place a map on an item frame, in PC/Java the top of the map will be North, but in MCPE it's East. (See MCPE-13187)

So, the maps on PE are actually rotated (North is actually East and South is actually West)?

[Mojang] Mega_Spud (Jay)

Additionally, another means of orientation is using Clouds which always float west. This means in MCPE the sun should set in the direction that the clouds float, but it does not currently.

This is a bulk resolve of issues that haven't been updated to 0.16.0+ yet. Please comment below (To open the ticket) and update your affected versions. If you cannot reproduce the bug, please write in the comments so we can resolve it as "Cannot Reproduce". Thank You!

solehuddin power

I hope coordinate like real world.

I just tested this in iOS version 1.0.0. Given that the sun rises in the west, and goes down in the east the following still applies:

  • The stem of the pumpkin points to the North-East

  • The sunflower faces east

  • The bright spot of Glowstone block is in the North-East corner of the top face

  • The "L" on the cobblestone is also in the North-East corner

That is the good part, but still the following applies:

  • Rotating using /tp ~ ~ ~ 0, make the Player face due West (not due South)

  • Positive changes in x coordinate move the Player towards the South (not East)

  • Positive changes in z coordinate move the Player towards the West (not North)

So the bug is still in action, or the coordinate system is somewhat mirrored or warped.

Dr.Awesome4333

@unknown as the author of the ticket you can update the affected versions of it.

So it looks like the potential real issues here are...

The "X" and "Z" coordinates are mirrored;

-The "X" (supposed to be "Z") coordinates (in terms of positive-negative changes) are correct.

-However, the "Z" (supposed to be "X") coordinates (in terms of positive-negative changes) are mirrored as well;

(travelling West = increasing instead of decreasing)
(travelling East = decreasing instead of increasing)

It is also noted, that the "f" directional positions are entirely shifted 90° clockwise;

(0 = West instead of South)
(1 = North instead of West)
(2 = East instead of North)
(3 = South instead of East)

This would also mean that MCPE-13187 is confirmed to be a bug. (still in effect)

Alternatively, if the coordinate system is actually correct, then this means the Sunrise/Sunset positions are indeed from North to South respectively. That would also mean that the Pumpkin stem textures, Sunflower positions and cobblestone "L" positions are facing incorrectly.

However, if that were the case, then that means MCPE-13187 is not a bug.

Finally fixed as of 1.1.0.0.

Ariel Diaz

(Unassigned)

Unconfirmed

Phone - Android - Samsung Galaxy Note

Android 6.0.1

0.15.6, 0.15.7, 0.16.2, 1.0.0.0, 1.0.2, ..., 1.0.4.1, 1.0.4.11, 1.0.5.13, 1.0.6.0, 1.0.5.54

1.1.0.0

Retrieved