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

Projectile hits only occur at the center of the projectile, not based on its collision box

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.19.10.23 Preview, 1.18.10.27 Beta, 1.18.10.26 Beta, 1.18.0.24 Beta, 1.18.0.22 Beta, 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, 1.18.2 Hotfix, 1.18.30.33 Preview, 1.18.12 Hotfix, 1.19.20.24 Preview, 1.19.11 Hotfix
    • None
    • Confirmed
    • Multiple
    • 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

              Gruntastic Gruntastic
              Votes:
              13 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: