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

Projectile offset does not rotate with player orientation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.10.22 Preview, 1.19.10
    • 1.19.0.21 Preview, 1.19.0.20 Beta, 1.18.12 Hotfix
    • None
    • Confirmed
    • Multiple
    • 771540

      Currently if the player has an item that shoots a projectile entity, it won't shoot/spawn directly in front of the player. Instead, it will use the world position as anchor. That means that it won't rotate with the player and summon on the right or left side when face the x anchor. The same happens to normal projectiles, it's just really subtle so you probably wont notice it much, but for custom projectiles, this is a major issue since there's no fix for it. Please fix this!

      Example offset is [-1,2,0] (basicaly the offset here is fixed, but without offset it will act as if the offset would not be fixed)

      Observed Behavior
      Offset is always toward the West (negative X)

      Expected Behavior
      Offset is to the Right (in first-person view)

      facing north:

      facing west:

      facing south (how it should be everywhere):

      facing ast:

      Here's an test pack with the offset 4,0,0:[^StarWars[BP.zip][^StarWars[RP.zip]

       

            ID9999 ID-Production
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: