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]

       

        1. 68FFCB0F-020C-45A3-853D-0105E56B15FC.png
          1.31 MB
          ID-Production
        2. 9244E792-4BFC-4571-8E5F-E40C09B03878.png
          1.23 MB
          ID-Production
        3. AF41B371-35A4-4BD1-83C4-A469CC87AB58.png
          2.55 MB
          ID-Production
        4. CB05EB52-AC2B-4786-B3A4-4172509C30F7.png
          1.35 MB
          ID-Production

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

              Created:
              Updated:
              Resolved:
              CHK: