
Compatibility issues with small player hitboxes
loboazul0103 opened this issue · 3 comments
Description
I played Dragon Survival 1.21.1 neoforge with this mod.
In Dragon Survival, can be a newborn dragon. When reach that state, the player's hitbox is considerably smaller than before.
The camera zooms in when the hitbox is smaller than a certain size and the player is close to a solid block. You can also rotate the camera sideways to see over the block.
I'm not programming savvy enough to know the technical cause of this, but my best guess is that the camera's reference point is very slightly forward of the player hitbox. (In the image, it's about 1 pixel difference)
This issue will no longer occur if the player is human or has a hitbox of a certain size.
The latest version of ShoulderSurfing in my modpack crashes when I use it, so I'm playing with version 4.10.1.
Minecraft version
1.21.1
Incompatible mod name
DragonSurvival-1.21.1-v2.0.7-24.03.2025-all
Incompatible mod version
ShoulderSurfing-NeoForge-1.21.1-4.10.1
Game Logs
This issue does not occur in third-person in vanilla Minecraft.
Also, I haven't tested any other player resizing mods besides DragonSurvival, so I don't know if the same thing happens in other mods.
Thanks for reporting! I will try to have a look. Please open up a separate issue for the crash.
I updated the mod to reproduce the crash log, but suddenly it started working fine without any issues. Apparently, I made a small mistake in updating the modpack.
If the related crash happens again, I'll open a crash issue at that time.
The above camera issue persists in the latest version, so it's worth looking into.