Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-116432

Custom Block Geometry Does Not Respect Element Pivots

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.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
    • Confirmed
    • Multiple
    • 656333

      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.

            _Kastle Joshua Kastle
            Votes:
            12 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: