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

Projectile Hitboxes Are Broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.18.0.20 Beta, 1.17.40.23 Beta, 1.17.40.20 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.22 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.17.10.23 Beta, 1.17.1 Hotfix, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.17.0.54 Beta, 1.17.0.52 Beta, 1.17.0.50 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.220.51 Beta, 1.16.220.50 Beta, 1.16.210.61 Beta, 1.16.210.60 Beta, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Platform:
      Multiple
    • ADO:
      495988

      Description

      Currently no matter what size hitbox a projectile entity has, the damage will only be given to mobs hit by the centre of the projectile, regardless of how big the hitbox actually is.

      Projectiles also hit their target before their model hits the entity, indicating the projectile hitbox is in front of the projectile.

      Steps To Reproduce:

      1. Go into the snowball file and change the hitbox to something much larger like 5 and 5
      2. Line up 2 lines of entities and throw the snowball between them (as shown in the attached video)
      3. The mobs will get pushed out of the way, but they won't get hit by the snowball

      Expected Behaviour:

      • The collision box of a projectile is what determines how large the 'damage collision box' is.

      Actual Behaviour:

      • No matter how large the hitbox is, only entities colliding with the centre of a projectile take damage

        Attachments

          Issue Links

            Activity

              People

              Reporter:
              Gruntastic Gruntastic
              Votes:
              11 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: