Mojira Archive
MCPE-116432

Custom Block Geometry Does Not Respect Element Pivots

For blocks with custom geometry, the pivots of individual elements are not respected when performing performing per-element rotation. Instead, the pivot seems to be centered to the entire block's geometry.

Steps to Reproduce:
1. Create a world with Holiday Creator features enabled
2. Apply the attached resources to the world
3. Give a copy of the example block:

give @p geysercmd:example_block_02

3. Place the block and observe that the pivot does not rotate around the defined pivot for the element (in this example, the smaller element should rotate around [-0.5, 17.25, 8] by 32.5º)

Observed Result:

  • Rotation of the small bar element does not occur around its specified pivot [-0.5, 17.25, 8]

Expected Result:

  • Rotation of the small bar element should occur around [-0.5, 17.25, 8]

I have attached an example addon that demonstrates this issue, as well as a visual representation of the pivot point in Blockbench.

Fixed

Joshua Kastle

2021-02-01, 10:46 AM

2024-09-11, 07:36 AM

2024-09-11, 07:11 AM

12

5

Confirmed

656333

1.18.0.21 Beta - 1.17.341.18.0.21 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.230.52 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.51 Beta, 1.16.210.59 Beta, 1.16.210.58 Beta, 1.16.210.57 Beta, 1.16.201 Hotfix, 1.16.210, 1.17.34

1.19.20