mojira.dev
MC-100008

Elytra and riptide hitbox is too close to the feet

The bug

The player's hitbox when using elytra is too far back, leading to odd collisions. It's currently too difficult to make hitboxes accurately follow the entity's orientation (MC-91376), but the box could at least be closer to the center of the player's body. The current setup is very problematic when precision flying is needed.

This is also the case with the new 1.13 riptide animation. Observing this misplacement in 3rd person mode is harder to spot, since the animation itself is obscuring the white hitbox. However, when you look at the character in the survival inventory, it is obvious that the model is outside of the black box and obscuring the inbentory slots, just like the elytra animation. 

The new swimming animation on the other hand, has the optimal hitbox location. The hitbox is closer to the center of the player's body, meaning that you can see more of the player's body part when colliding on a wall. The model fits a lot nicer in the black box of the survival inventory, making inventory management a lot easier. 

Linked issues

Attachments

Comments

migrated

The way it works now is the intended way, for feature requests/changes go to the reddit page.

migrated

I doubt it's intended. With the current hitbox, your head can go right through blocks without a problem, but your feet will bump into it. This makes it very difficult to fly precisely because your hitbox is so far behind your eyes.

migrated

Your eyes don't move on x/z only on y, start flying your eyes only go down, not forward, and as I said before, this is how mojang intends it to be as of now

migrated

"Your Eyes don't move on x/z"

Um. What? You can turn your head to the side...

And how do you know Mojang wants it like this? This was just a quick fix to MC-90099, it's perfectly likely that the current clumsiness is not intended and will be changed later.

migrated

The camera only changes vertically when you start flying, it doesn't move forewards, so there is no problem there.

As for the fix, if they wanted it differently, they would have made it differently.

This might be changed in the future (@unknown has shown intrest in changing the hitbox system to account with rotation, etc) but as of now, it's intended behaviour.

Game currently uses AABB, to change to OBB is not a super trivial thing to do, we might consider the major work involved to do it in the future however.
Until such time, this ticket is sadly WorkingAsIntended.

migrated

1. It effectively does. When you are standing, your hitbox contains your entire body. When you are flying, your hitbox only contains the bottoms of your feet. It moves forward relative to your hitbox.

2. That logic could be applied to any bug.

3. This report has nothing to do with rotation. It's about the hitbox being in the wrong place. Things like that have been fixed before. (MC-1524, MC-4268, MC-54615, and MC-90099 for example.)

wobst.michael

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

CivetKitty

If this is an intended feature, why is the hitbox for swimming underwater in 18w08b is in the center of the body? I think it uses a similar mechanic.

migrated

Affects 18w16a

CivetKitty

Works in 18w21a, expanded to riptide

migrated

Still present in 18w32a for both the elytra and riptide trident.

migrated

Can confirm for 1.13.1-pre2.

migrated

Can confirm for 1.13.1.

migrated

Can confirm for 20w22a.

[media]
j_p_smith

Confirmed in 1.16.1 and 20w27a.

migrated

Confirmed in 1.16.3.

Avoma

Can confirm in 20w48a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 21w11a.

Avoma

Can confirm in 21w14a.

Avoma

Relates to MC-148559.

Avoma

Can confirm in 21w16a.

CivetKitty

(Unassigned)

Confirmed

(Unassigned)

animations, elytra, hitbox, riptide, swimming, trident

Minecraft 1.9.1 Pre-Release 3, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w10c, ..., 21w06a, 21w07a, 21w11a, 21w14a, 21w16a

Retrieved