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.
2021-02-01, 10:46 AM
2024-09-11, 07:36 AM
2024-09-11, 07:11 AM
12
5
656333