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

Particles attached to locators invert worldspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.12 Hotfix, 1.20.1 Hotfix
    • None
    • Confirmed
    • Windows
    • 764313

      The bug

      When an entity plays a particle through an animation keyframe, if a locator is not specified, the particle appears correctly. However, if a locator is specified, all of the coordinates of the particle are inverted.

      How to reproduce

      1. Download and open the attached world
      2. Observe the squares

      Expected behavior
      The two squares of each color should appear in the same place – aligned with the respective line.

      Observed behavior
      One square of each color is in the correct place, the other is on the opposite side.

      Notes
      The correct squares are created like this:

      "particle_effects": {
      	"0.0": [
      		{"effect": "x"},
      		{"effect": "y"},
      		{"effect": "z"}
      	]
      }
      

      The incorrect squares are created like this:

      "particle_effects": {
      	"0.0": [
      		{"effect": "x", "locator": "root"},
      		{"effect": "y", "locator": "root"},
      		{"effect": "z", "locator": "root"}
      	]
      }
      

      Since the locator is just at the origin of the root bone, it should appear in the exact same location as the other particles.

      Ignore the cubes, they are only relevant to MCPE-153513.

        1. LOCATOR BUG.mcworld
          360 kB
          [Mod] tryashtar
        2. screenshot-1.png
          191 kB
          [Mod] tryashtar

            tryashtar [Mod] tryashtar
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: