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 25

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.

15 more comments
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